#topimg{
    margin-top: 10px;
}
.header_input {
    display: flex;
    align-items: center;
    justify-content: left;
    margin: 0;
    margin-right: 10px;

}

.header {
    background: #73d7f9;
    display: flex;
    justify-content: center; /* Changed from center to center */
    align-items: center;
    /* box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.5); */
    border-bottom: 3px solid #30b6ff;
}

.head {
    justify-content: space-between; /* Changed from center to flex-start */
    display: flex;
    flex-wrap: wrap;
    align-items: center; /* Added to ensure full width */
    max-width: 1150px;
    /* margin-top: 7px;
    margin-bottom: 9px; */
    margin-top: 12px;
    margin-bottom: 2px;
}
body{
    margin: 0;
}
.footer {
    background-color: #73d7f9; /* Light blue background */
    padding: 7.5px 0;
    text-align: center;
    border-top: 3px solid #30b6ff; /* Light blue top border */
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
    z-index: 99999;
    
    /* Скрываем футер по умолчанию */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .felement{
    
    width: auto;
  }
  .felement a{
    color: #5f266d;
    text: small;
    text-decoration: none;
    font-size: .875rem;
    line-height: 1.25rem;
    filter: brightness(1.2);
}
  
  .felement a:hover{
    text-decoration: underline;
  }
  
  /* Класс для отображения футера после загрузки контента */
  .footer.loaded {
    opacity: 1;
    visibility: visible;
  }
  .footer .separator {
    width: 1px;
    align-self: stretch;
    background-color: #5f266d;  
    margin: 0px 10px;
    filter: brightness(1.2);
  }

  
.inputs {
    display: flex;
    margin-right: 15px;
    margin: auto; /* Removed left margin */
    flex-wrap: wrap;
    margin-left: 10px;
}

.search {
    margin-left: 20px;
    width: auto;
    height: 41px;
    margin-right: 0;
}

.highlight {
    margin-left: 10px;
    margin-right: 10px;
}

.text_input {
    /* color: #7a8492; */
    color: #475569;
    border-radius: 5px 0 0 5px; /* Закругление только левых углов */
    text-align: center;
    width: 130px;
    background-color: #ffffff;
    margin: 0;
}

.button_header {
    color: #333333;
    font-size: 18px;
    font-weight: 500;
    background-color: #e2e8f0;
    width: 130px;
    margin-left: 10px;
    
}

.text_input, .button_header {

    height: 30px;
    display: flex; /* Добавлено для центрирования текста внутри */
    justify-content: center;
    align-items: center;
    padding: 5px;
    text-align: center;
    margin-right: 1.5px;
    margin-left: 0;
    color: #475569;
    margin-top: 3px;
    font-size: .875rem;
    line-height: 1.25rem;
}
html {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #f4f4f4;
}
.search{
    justify-content: center;
    background-color: #6366f1;;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
    display: flex; /* Используем flexbox для выравнивания иконки и текста */
    align-items: center; /* Центрирование по вертикали */
    gap: 4px; /* Отступ между иконкой и текстом */
    font-size: 16px;
    padding-left: 10px;
    padding-right: 8px;
    margin-left: 5px;
    border-radius: 5px;
    width: 90px;
    height: 40px;
    margin-right: 10px;
    margin-left: 10px; /* Курсор-указатель для интерактивности */
    margin-top: 3px;
}
/* .search:hover{
    background-color: #8a2be2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
} */
.search:active,.search:focus{
    background-color: white;
    color:#9370DB;
    border: 2px solid #9370DB;
    outline: none;
}
.search svg {
    width: 15px; /* Ширина иконки */
    height: 15px; /* Высота иконки */
    fill: #333;

}

.profile{
    background-color: transparent;
    text-align: center;
    display: flex;
    gap: 4px;
    font-size: 17px;
    color: #333;


}
.profile svg{
    width: 15px;
    height: 15px;
    fill:black;
}

.ava{
    background-color: transparent;
    text-align: center;
    display: flex;
    gap: 4px;
    font-size: 17px;
    margin-left: 7px;
    color: #333;
}
.ava svg{
    width: 17px;
    height: 17px;
    fill: black;
}
.acc, .inputs{
    display: flex;
    align-items: center;
    gap: 5px;

}
.acc {
    margin: auto;
    align-items: center;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 74px;
}
.categories, .other{
    background-color: white;
    box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.23);
    width: 200px;
    color: #5f266d;
    padding-top: 2px;
    margin: 20px;
    padding-right: 20px;

}
ul{
    list-style-type: none; /* Убираем точки и цифры */
    padding-left: 25px;
}
ul li{
    font-size: 17px;
    padding-left: 10px;
}

.other{
    padding-bottom: 10px;
}
.categories {
    background-color: white;
    box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.23);
    width: 200px;
    min-width: 200px;
    color: #5f266d;
    padding: 10px;
    margin: 20px;
}
.categories h3 {
    margin-top: 0;
}
.cat-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cat {
    background-color: #e2e8f0;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 17px;
}
.highlight {
    display: flex;
    flex-direction: column; /* Changed to column to stack title above products */
    /* align-items: flex-start; Center align the content */
    align-items: baseline;
    /* padding-right: 25px; */
    margin-top: 20px;

    color: #333333;
    background-color: #fcd34d;
    max-width: 970px;
    width: auto;
    height: auto;
    margin-bottom: 15px;
    text-align: left;
    padding: 10px 30px 10px 10px;
    border-radius: 4px;
    justify-content: center;
}

#highlight_title{
    /* font-size: 24px;
    font-weight: bold; */
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    float: left;
    text-align: left;
    margin: 15px; /* Space between title and products */
/* Full width to ensure proper alignment */
    color: #5f266d;
}

#profile_list {
    display: flex;
    flex-direction: row;
    gap: 12px;  /* 8px; */
    width: auto; /* Full width of the container */
    padding-bottom: 10px;
    flex-wrap: wrap; /* Space for potential scrollbar */
}


.content {
        display: flex;
        width: auto;
        margin: auto;
    }
.highlight .profile-card{

    width: calc(100vw/3);
    max-width: 230px;
    min-width: 100px;
    /* height: 345px; */
    height: auto;
    border-radius: 10px;
    margin-right: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin-top: 0px;
    margin-left: 0;
    margin-bottom: 10px;
}
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #f2f2f2;
    overflow-x: hidden;
}

.profile-card {
    width: calc(100vw/3);
    max-width: 245px;  /* 240px; */
    min-width: 100px;
    /* height: 345px; */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: white;
    position: relative;
    font-size: 14px;
    display: flex;
    padding-bottom: 15px;
    margin-right: 20px;
    margin-bottom: 25px;
    flex-direction: column;
    /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
   
        transition-property: transform;
        transition-timing-function: cubic-bezier(.4,0,.2,1);
        transition-duration: .15s;
}

.profile-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition-property: transform;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .15s;

}
.profile-card:hover .profile-image img {
    transform: scale(1.03);
}
.profile-image {
    width: 100%;
    height: 230px; /* Высота контейнера */
    padding: 0.7rem;
    box-sizing: border-box; /* Оставляем рамку */
    position: relative; /* Добавляем позиционирование для бейджика */
    
}

.profile-image img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 5px;
    display: block;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.age-badge {
    position: absolute;
    top: 40px; /* Расположение бейджика */
    right: 1px; /* Сместим правее */
    background: linear-gradient(45deg,#84cc16,#7fc515);
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    border-radius: 0; /* Убираем радиус у бейджика */
}

.profile-info {
    padding: 10px;
    text-align: left;
    font-size: 0.875rem;
    align-items: end;
}

.profile-name {
    font-size: 18px;
    margin: 4px;
    color: #5f266d;
}

.profile-bio {
    font-style: italic;
    color: #5f266d;
    margin: 5px 0;
    vertical-align: middle;
}

.profile-location {
    position: absolute;
    right: 7px;
    bottom: 9px;
    font-weight: 700;
    color: #0284c7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 14px); /* 14px = правый отступ 7px + левый отступ 7px */
    /* font-size: 14px; Базовый размер шрифта */
    font-size: .75rem;
    line-height: 1rem;
}

.location-icon {
    width: 14px;
    height: 14px;
    fill: #0284c7;
    margin-bottom: 0px;
    flex-shrink: 0; /* Предотвращает сжатие иконки */
}

/* Медиа-запросы для адаптивного размера шрифта */
@media screen and (max-width: 1014px) {
    .profile-location {
        font-size: 12px;
    }
}

@media screen and (max-width: 770px) {
    .profile-location {
        font-size: 12px;
    }
}


.posts{
    display: inline-flex;
    flex-wrap: wrap;
    width: auto;
    max-width: 900px;

}
#post{
    display: flex;
    flex-wrap: wrap;
    width: auto;
    align-items: center;
    margin: 0;
    margin-top: 15px;
    justify-content: center;
    padding-left: 14px;

    
}
.block{
    width: 100%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    max-width: 1074px;
    padding-left: 16px;
    transform: translateY(-8px);
    margin-top: 4px;
}



.cat:hover{
    background-color: #fcd34d;
}
#category li, #hair li{
    margin-left: 0px;
}
#category li:hover,#hair li:hover {

    pointer-events: auto;
    text-decoration: underline;
    
}
.profile:hover, .ava:hover{
    text-decoration: underline;
}

.button_header:hover,
.search:hover,
.profile-card:hover,
.cat:hover,
img:hover,
#category li:hover,
#hair li:hover,
.profile:hover,
.ava:hover,
button:hover {

    cursor: pointer !important;
}
.text-color{
    color: #5f266d;
}
.right-border{
    border-right: 1px ; 
    border-top-right-radius: 5%;  
    border-bottom-right-radius: 5%;
}
.text-size{
    font-size: 0.98rem;
}
.svg-margin{
    transform: translateY(4px);
}
.size-title{
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.75rem;
    /* opacity: 0.8; */
}
.text-trans-one{
    font-size: .875rem;
    line-height: 1.25rem;
}
.font-verdana{
    font-family: Verdana;
}
.border-red{
   border:  3px solid #f87171!important;
}
.flex-style{
    display: flex;
	justify-content: center;
}