#theme-lang-overlay {
  position: fixed;
  top: 28px;
  right: 40px;
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 9999;
}

#theme-lang-overlay img {
  width: 28px;
  height: 28px;
  cursor: pointer;
}

#theme-lang-overlay select {
  padding: 4px 6px;
  font-size: 14px;
  border-radius: 4px;
  background-color: #000; /* Черный фон */
  color: #ccc;            /* Светло-серый текст */
  border: 1px solid #666;
}

#theme-lang-overlay select option {
  background-color: #000; /* Черный фон в выпадающем меню */
  color: #ccc;            /* Светло-серый текст в выпадающем меню */
}

/* Мобильный вид: сдвигаем блок левее */
@media (max-width: 980px) {
  #theme-lang-overlay {
    right: 100px !important; /* !!! только здесь правим right */
  }
}
  


#rec980915706 .t456__list_item:last-of-type {
  margin-right: 130px !important;
}



/* Фон всей попап-галереи */
.t-popup {
  background: transparent !important;
}

/* Фон под контентом галереи */
.t-popup_bg {
  background: transparent !important;
}


.t-zoomer__container,
.t-zoomer__bg {
   background-color: #000 !important;
}



  border: 1px solid #666;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 14px;
}

/* Стили для опций внутри селектора */
#theme-lang-overlay select option {
  background-color: #000;    /* Черный фон в выпадающем списке */
  color: #ccc;               /* Светло-серый текст в выпадающем списке */
}

/* При наведении или фокусе */
#theme-lang-overlay select:focus {
  outline: none;
  border-color: #999;
}

/* Стилизация текста при выборе */
#theme-lang-overlay select option:hover {
  color: #fff; /* При наведении на опцию — текст белый */
}


/* Стилизация моей галереи */

.t-zoom__caption-text {
    color: white;
    font-size: 18px;
    margin-top: 10px;
    text-align: center;
    max-width: 90%;
}
.t-zoom__wrap {
    max-height: 80vh;
    overflow: hidden;
}
.t-zoom__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.t-zoom__target-img {
    max-height: 70vh;
    object-fit: contain;
}


