:root {
    --white-color: #ffffff;
    --bg-color: #f7f3eb;
    --text-color: #202020;
    --description-color: #404040;
    --contrast-color: #888888;
    --cookie-color: #00000095;
    --green-color: #00a82d;
    --light-green-color: #96d446;
    --orange-color: #ee6e73;
    --red-color: #ff2600;
    --light-red-color: #ff5a3d;
    --blue-color: #6578fe;
    --violet-color: #d4b8f9;
    --yellow-color:#da8b2c;
}
html, body {
  overflow-x: hidden !important;
  touch-action: pan-y;
  background-color: var(--bg-color);
      padding: 0;
    margin: 0;
}
.px-1 {
    padding-right: 0.12em !important;
    padding-left: 0.12em !important;
    margin: 0 auto;
}
.error404 img {
  width: 100%; 
  height: 100%;
}

/* === Верхняя полоса с контактами === */
.luxdoc-topbar {
  background-color: var(--bg-color); /* Тёмно-бирюзовый */
  color: var(--contrast-color);              /* Белый текст */
  font-size: 15px;          /* Чуть меньше шрифт */
}
.luxdoc-topbar a {
  font-weight: normal;
}

.luxdoc-topbar-item a {
  color: inherit;
  text-decoration: none;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.luxdoc-topbar-item a:hover {
  color: var(--text-color);
}
.ms-2 {
    margin-left: 3px !important;
}
.luxdoc-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Контакты справа */
  gap: 20px;                 /* Расстояние между элементами */
  padding: 5px 20px;         /* Отступы сверху/снизу, слева/справа */
}

.luxdoc-topbar-item {
  display: flex;
  align-items: center;
  gap: 6px; /* Расстояние между иконкой и текстом */
}

.luxdoc-topbar-item i {
  font-size: 15px; /* Иконки чуть меньше */
  color: var(--contrast-color);
}
.luxdoc-topbar-item i:hover {
  color: var(--text-color);
}
/* === Адаптивность для topbar === */
@media (max-width: 768px) {
  .luxdoc-topbar-inner {
    flex-wrap: wrap; /* Перенос строк на мобильном */
    justify-content: center; /* Можно по центру */
    gap: 10px;
  }
}

/* -- Наши стили для хедера -- */
.luxdoc-header {
  background-color: var(--bg-color);

}
.luxdoc-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
/* Контейнер логотипа */
.logo-wrapper {
  width: 300px;
}
#luxdoc-logo-svg-1 {
  width: 350px;      /* задайте нужную ширину */
  height: auto;
  display: block;
}
#luxdoc-logo-svg-2 {
  width: 250px;      /* задайте нужную ширину */
  height: auto;
  display: block;
  margin-left: -20px;
}
.logo-text {
  font-family: 'Varela Round', sans-serif;  /* задайте шрифт */
  font-size: 72px;
  font-weight: bold;
  fill: var(--blue-color); 
}

/* меню-обёртка */

.top-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 1.5em;
  border:1px solid var(--text-color);
  margin: 5px auto 0 auto;
  box-shadow: 0 2px 20px 0 rgba(40,40,80,.04);
  max-width: 1700px;
  width: 97vw;
  padding: 0 15px;
  position: relative;
}

.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu > li {
  margin: 0 0.5rem;
  overflow: hidden;
}

.menu > li > a {
  text-decoration: none;
  color: var(--description-color);
  font-size: 1.03em;
  font-weight: 400;
  border-radius: 1.4em;
  padding: 0 1.2em;
  transition: background .18s, color .18s;
}
.menu > li > a:hover {
  background: #eef0ff;
  color: var(--orange-color);
}
.menu-button-container {
  display: none;
  height: 100%;
  width: 36px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: var(--blue-color);
  position: absolute;
  height: 4px;
  width: 32px;
  transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button {
  position: relative;
}

.menu-button::before {
  content: '';
  position: absolute;
  margin-top: -10px;
}

.menu-button::after {
  content: '';
  position: absolute;
  margin-top: 10px;
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(101,120,254,0);
}
#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(45deg);
}
#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-45deg);
}
#menu-toggle {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
  left: -9999px;
}
@media (max-width: 1024px) {
  .menu-button-container { display: flex; }
  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: #fff;
    border-radius: 1.5em 1.5em 1.5em 1.5em ;
    border:1px solid var(--text-color);
    box-shadow: 0 2px 20px 0 rgba(40,40,80,.09);
    align-items: center;
    z-index: 1000;
    padding-bottom: 24px;
    transition: all .28s;
    opacity: 0;
    pointer-events: none;
  }
  #menu-toggle:checked ~ .menu {
    opacity: 1;
    pointer-events: all;
  }
  .menu > li {
    width: 92vw;
    margin: 0.5em 0;
    text-align: center;
  }
}


/* ============================= preloader ============================ */
#luxdoc-preloader {
  position: fixed;
  z-index: 9999;
  background: var(--bg-color);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center; /* Центровка текста */
}

#luxdoc-preloader .container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#luxdoc-preloader .part1 {
  font-family: 'Varela Round', sans-serif;
  font-weight: 600;
  font-size: 4rem;
  color: var(--blue-color);
}
#luxdoc-preloader .part2 {
  background-color: var(--blue-color);
  border-radius: 20px;
  color:white;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-weight: 600;
  font-size: 4rem;
  margin-left: 0.5rem;
  font-family: 'Varela Round', sans-serif;
  padding-block-start: 0rem;
  padding-block-end: 0rem;
}
#luxdoc-preloader .loader {
  margin-top: 2rem;
  height: 7px;
  width: 15rem;
  background-color: lightgrey;
  overflow: hidden;
  position: relative;
  border-radius:15px;
}

#luxdoc-preloader .loading {
  background-color: var(--blue-color);
  width: 5rem;
  height: 7px;
  animation: luxdoc-loading 1.8s infinite;
  border-radius:15px;
}

@keyframes luxdoc-loading {
  0% {
    transform: translateX(0rem);
  }
  50% {
    transform: translateX(10rem);
  }
  100% {
    transform: translateX(0rem);
  }
}
/* ============================= preloader ============================ */
/* ============================= Footer ============================ */
.footer {
    background: var(--bg-color);
    padding: 50px 0;
    color: var(--text-color);
    border-top: 1px solid var(--text-color);
}

.catalog-section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5em;
  color: var(--blue-color);
}

.footer a {
    color: var(--text-color);
    text-decoration: none;
    transition: all .3s;
    
}

.footer a:hover {
  background-color: #fff;
  color: var(--description-color);
  text-decoration: none;
  
  border-radius: 7px;
}

.footer-icons {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    font-size: 20px;
}
#upbtn {
  position: fixed;
  bottom: 100px;
  right: -10px;
  background-color: #fff;
  color: var(--description-color);
  border: 3px solid var(--description-color);
  padding: 5px 10px 5px;
  border-radius: 10px;  /* можно изменить по вкусу */
  cursor: pointer;
  z-index: 10000;
  font-weight: bold;
  display: none;  /* скрыта по умолчанию */
  transition: opacity 0.3s ease;
  transform: rotate(-90deg);
}
#upbtn:hover {
  background-color: var(--contrast-color);
}
#upbtn i {
  font-size: 16px;  /* размер иконки */
}
/* ============================= Footer ============================ */
/* ============================= cookie ============================ */
#cookie-consent {
  position: fixed;
  bottom: 0;
  z-index: 99999;
  padding: 0;
  margin: 10px;
  font-family: inherit;
}
.cookie-message {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 500px;
  margin: 18px auto;
  background: var(--cookie-color);
  border-radius: 16px;
  box-shadow: 0 3px 12px var(--text-color);
  padding: 18px 24px;
  font-size: 1rem;
  color: var(--white-color);
}
.cookie-message a {
  color: var(--red-color);
  text-decoration: underline;
  transition: color .15s;
}
.cookie-message a:hover { color: var(--orange-color); }


#cookie-accept {
  margin-left: 18px;
  padding: 8px 20px;
  background: var(--red-color);
  color: var(--white-color);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s;
}

#cookie-accept:hover { background: var(--orange-color); }

@media (max-width: 700px) {
  .cookie-message { flex-direction: column; align-items: stretch; }
  #cookie-accept { margin: 12px 0 0 0; width: 100%; }
}
/* ============================= cookie ============================ */