.hidden-block {
    display: none;
    padding: 12px 16px 12px 16px;
    border-radius: 0px 0px 12px 12px;
}


.hidden-block__nav {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
}

.hidden-block__container {
    display: flex;
    justify-content: space-between;
    
}

.hidden-block__search {
    position: relative;
    flex: 1;
    margin-top: 16px;
}

.hidden-block__search--not-active {
    display: none;
}

.hidden-block__search--active {
    display: block;
}


.hidden-block__search::before {
    content: "Искать";
    top: calc(50% - 9px);
    position: absolute;
    left: 24px;
    color: rgba(111, 111, 111, 1);
}

.hidden-block__search-input {
    width: calc(100% - 74px);
    padding: 15px 0px 15px 80px;
    border-radius: 100px;
    border: 1px solid rgba(208, 208, 208, 1);
}

.hidden-block__search-input::placeholder {
    color: rgba(0, 140, 149, 1); /* Изменяем цвет плейсхолдера */
}

.popup-hidden-block {
    display: none; /* Изначально скрываем попап */
    position: absolute; /* Позиционирование относительно кнопки */
    top: 85%;
    right: 20px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 24px 53px 24px 53px;
    z-index: 1000;
}

.popup-hidden-block__nav {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.popup-hidden-block__nav-item:not(:last-child) {
    margin-bottom: 14px;
}

.popup-hidden-block__nav-link {
    color: rgba(0, 49, 60, 1);
    text-decoration: none;
}

.popup-hidden-block__nav-link:hover {
    text-decoration: underline;
}

.hidden-block__nav-button--not-active {
    background-color: transparent;
    border: none;
    width: 40px;
    height: 40px;
    margin-left: 8px;
}

.hidden-block__nav-button--active {
    display: none;
    border: none;
    margin-left: 8px;
}

.hidden-block__nav-buttons {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.hidden-block__nav-item a {
    color: var(--nav-btn-text-color);
    font-size: var(--nav-btn-font-size);
    font-weight: var(--nav-btn-font-weight);
    text-decoration: none;
    line-height: var(--nav-btn-line-height);
    padding: var(--nav-btn-padding);
}

.hidden-block__nav-item:not(:last-child) {
    display: inline-block;
    margin-right: 24px;
  }

  .hidden-block__nav-button--not-active {
    position: relative; /* Позволяет попапу позиционироваться относительно кнопки */
    background-color: transparent;
}

.hidden-block__nav-button--active {
    position: relative; /* Позволяет попапу позиционироваться относительно кнопки */
    background-color: #008c95;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
}

.hidden-block__nav-button--not-active svg{
    fill: rgba(0, 140, 149, 1);
}

.hidden-block__nav-button--active svg{
    fill: white;
}

.hidden-block__search-button--active {
    width: var(--search-btn-size);
    height: var(--search-btn-size);
    border-radius: 4px;
    background-color: var(--search-btn-bg-color);
    border: var(--search-btn-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
}

.hidden-block__search-button--not-active {
    width: var(--search-btn-size);
    height: var(--search-btn-size);
    border-radius: 4px;
    background-color: white;
    border: var(--search-btn-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
}

.hidden-block__search-button--active svg path {
    stroke: white; /* Начальный цвет */
    transition: stroke 0.3s;
}

.hidden-block__search-button--active:hover svg path {
    stroke: white; /* Цвет при наведении */
}

.hidden-block__search-button--not-active svg path {
    stroke: rgba(0, 140, 149, 1); /* Начальный цвет */
    transition: stroke 0.3s;
}

.hidden-block__search-button--not-active:hover svg path {
    stroke: rgba(0, 140, 149, 1); /* Цвет при наведении */
}


.visible {
    display: flex;
    position: fixed;
    z-index: 2;
    background-color: white;
    top: 0;
    width: calc(100% - 32px);
    left: 0;
    box-shadow: 0px 16px 32px 0px rgba(0, 0, 0, 0.2);
    justify-content: space-between;
    flex-direction: column;
}

.visible .header {
    margin: 0;
}