/* @font-face {
    font-family: 'Retinoids';
    src: url('../fonts/Retinoids/Retinoids.eot');
    src: url('../fonts/Retinoids/Retinoids.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Retinoids/Retinoids.woff') format('woff'),
         url('../fonts/Retinoids/Retinoids.ttf') format('truetype'),
         url('../fonts/Retinoids/Retinoids.svg#font_file') format('svg');
    font-weight: normal;
    font-style: normal;
} */

body {
  padding-top: 80px;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  background-color: #fff;
  color: #595758;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: #333;
}

h5, h6 {
  font-weight: bold;
}

.color-red {
  color: rgb(211, 38, 38);
}

a {
  color: #333;
  text-decoration: none;
  transition: color ease 0.4s;
}

a:hover {
  color: #000;
}

#content a, #modal-back a {
  text-decoration: underline;
}

#content a:hover, #modal-back a:hover {
  text-decoration: none;
}

.form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

/* NAVBAR */
.navbar {
  --bs-navbar-toggler-border-color: none;
  --bs-navbar-toggler-focus-width: 0;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-search {
  color: #575a5e;
  font-size: 20px;
  margin: 0px 3px;
}

/* HIGHLIGHT */
#highlights {
  margin-top: 7px;
  margin-bottom: 20px;
}

.highlight {
  padding: 10px;
   transition: transform ease 0.3s;
}

.highlight:hover {
  transform: scale(1.1);
}

@keyframes spinNormal {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinReverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.highlight .highlight-border {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 4px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  animation: spinNormal 5s linear infinite;
}

.highlight img {
  display: block;
  width: 100%;
  height: 100%;
  animation: spinReverse 5s linear infinite;
  border: 2px solid #fff;
}

.highlight, .highlight .highlight-border, .highlight img {
  border-radius: 999px;
}

.highlight .highlight-border.highlight-border-1 {
  background-image: url('../img/highlight-circle-1.jpg');
}

.highlight .highlight-border.highlight-border-2 {
  background-image: url('../img/highlight-circle-2.jpg');
}

.highlight .highlight-border.highlight-border-3 {
  background-image: url('../img/highlight-circle-3.jpg');
}

.highlight .highlight-border.highlight-border-4 {
  background-image: url('../img/highlight-circle-4.jpg');
}

.highlight .highlight-border.visited {
   background: gray !important; 
}

/* FANCYBOX */

/* Скрываем стандартные элементы fancyBox */
.fancybox-progress, .fancybox-navigation, .fancybox-infobar {
    display: none !important;
}

/* Контейнер индикаторов (Telegram Stories) */
.tg-progress-container {
    position: absolute;
    top: 55px;
    left: 10px;
    right: 10px;
    height: 3px;
    display: flex;
    gap: 4px;
    z-index: 100000;
    pointer-events: none; /* Чтобы не мешал тапам */
}

.tg-segment {
    flex: 1;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.tg-segment-fill {
    height: 100%;
    width: 0;
    background: #ffffff;
}

/* Ссылка-кнопка в подписи */
.caption-link {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff !important;
    text-decoration: none;
    border-radius: 20px;
    font-family: sans-serif;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    pointer-events: auto; /* Делаем ссылку кликабельной */
}

/* Убираем синюю подсветку при тапах на мобильных */
.fancybox-container * {
    -webkit-tap-highlight-color: transparent;
}

/* Отключает скрытие элементов интерфейса в любом состоянии */
.fancybox-show-controls .fancybox-controls,
.fancybox-is-sliding .fancybox-controls,
.fancybox-is-sliding .fancybox-infobar,
.fancybox-is-sliding .fancybox-toolbar,
.fancybox-is-sliding .tg-progress-container {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Если кнопки скрываются именно при тапе (состояние idle) */
.fancybox-controls, 
.fancybox-toolbar, 
.tg-progress-container {
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important; /* Убираем анимацию исчезновения */
}

/* Сохраняем видимость кнопок, прогресс-бара и подписи */
.fancybox-is-sliding .fancybox-caption,
.fancybox-is-sliding .fancybox-toolbar,
.fancybox-is-sliding .tg-progress-container,
.fancybox-show-controls .fancybox-caption,
.fancybox-show-controls .fancybox-toolbar {
    opacity: 1 !important;
    visibility: visible !important;
}

.fancybox-caption {
    visibility: visible !important;
    opacity: 1 !important;
    transition: none !important;
}

/* MAIN SLIDER */
#mainSlider {
  margin-bottom: 25px;
}

#mainSlider img {
  border-radius: 10px;
}

#mainSlider .owl-nav {
  position: absolute;
  display: block;
  pointer-events: none; 
  width: 100%;
  top: 35%; left: 0;
}

#mainSlider .owl-nav .owl-prev, #mainSlider .owl-nav .owl-next {
  display: block;
  float: left;
  font-size: 3em;
  color: #fff;
  transition: all ease 0.3s;
  pointer-events:all;
}

#mainSlider .owl-nav .owl-next {
  float: right;
}

#mainSlider .owl-nav .owl-prev:hover, #mainSlider .owl-nav .owl-next:hover {
  transform: scale(1.3);
}

/* PRODUCT-SLIDER */
#sync1 {
  margin-bottom: 5px;
}

#sync2 {
  margin-bottom: 25px;
}

/* Выделение текущей миниатюры */
#sync2 .owl-item {
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.2s ease;
}

#sync2 .owl-item.current {
  border-color: #005bff; /* Фирменный синий Ozon */
  border-radius: 4px;
}

#sync2 .owl-item:hover {
  border-color: #005bff;
}

/* Скрываем стандартные точки, если они мешают */
.owl-theme .owl-dots { display: none; }


/* owlOtherProducts */
#owlOtherProducts .owlOtherProductsTitle {
  display: inline-block;
  font-size: 0.8em;
  line-height: 1.2em;
  margin-top: 5px;
  text-align: center;
}

/* V-CARD */
.v-card {
  margin-bottom: 30px;
}

.v-card .v-img {
  display: block;
  margin-bottom: 10px;
}

.v-card .v-img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.v-card .v-link {
  font-size: 1.1em;
}

/* V-CARD V-CATALOG */
.v-card.v-isFolder-1 .v-img {
  position: relative;
}

.v-card.v-isFolder-1 .v-img::before { 
  content: "";
  display: block;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: #cecbcc;
  z-index: -1;
  border-radius: 10px;
  transform: rotate(-3deg);
  transition: transform ease 0.3s;
}

.v-card.v-isFolder-1 .v-img:hover::before {
   transform: rotate(-5deg);
}

/* ICONS */
.icons {
  margin-bottom: 20px;
}

.icon img {
  margin-bottom: 10px;
  width: 100%;
  height: auto;
  padding: 5px;
  padding-bottom: 0px;
}

.icon .icon-title {
  font-size: 0.6em;
  text-align: center;
}

/* accordion */
.accordion-button {
  font-weight: bold;
}

.accordion-button:focus {
  box-shadow: none !important;
}

/* FOOTER */
footer {
  margin: 50px 0px 10px 0px;
}

img.footer-logo {
  width: 100%;
  height: auto;
}

p.footer-info {
  font-size: 0.8em;
}

footer ul {
  list-style-type: none;
  padding-left: 0;
}

footer ul li {
  text-align: right;
  font-size: 0.8em;
}

/* OTHER */
.product-buttons ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 0;
}

.product-buttons ul li {
  display: inline-block;
  margin-bottom: 20px;
  margin-right: 10px;
}

.product-buttons ul li > a {
  text-decoration: none !important;
}

/* SEARCH */
#search-window {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  padding-top: 70px;
  background-color: rgba(61, 60, 60, 0.8);
  transition: all ease 0.3s;
}

#search-result {
  background-color: rgba(255, 255, 255, 1);
  max-height: 260px;
  overflow-y: scroll;
  border-radius: 5px;
  transition: all ease 0.3s;
}

#search-result a {
  display: block;
  padding: 10px 13px;
  margin: 5px 5px;
  border-radius: 5px;
  background-color: rgba(223, 221, 221, 0.4);
  border: 2px solid rgba(223, 221, 221, 0.4);
  transition: all ease 0.3s;
  font-size: 0.9em;
}

#search-result a:hover {
   border: 2px solid rgba(179, 177, 177, 1);
}

#search-result #loader {
  margin: 20px;
}






