:root {
  --main-shadow:-0.1rem 0.1rem 0.3rem rgb(149 145 145 / 30%);
  --text-shadow: 0.2rem 0.2rem 0.3rem rgb(149 145 145 / 100%);
  --all-font-color:#555557;
  --link-hover-color:#0086C4;
  --link-color:#555557;
  --link-text-decoration:none;
  --link-text-decoration-hover:underline;
  --stroke-color:#555557;
  --stroke-width:1;
  --z-index-standart-level:1;
  --z-index-2level:2;
  --z-index-3level:3;
  --z-index-above-all-level:1000;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* Временно, чтобы видеть границы */
/* * {outline: 2px solid red;}  */

.main-header {
  box-shadow: var(--main-shadow);
}

.callus-block {
  font-size: 1rem;
  color: var(--all-font-color);
  text-decoration: var(--link-text-decoration);
}

.callus-block a {
  color:inherit;
  text-decoration: inherit;
}

.callus-block a:hover {
  color: var(--link-color);
  text-decoration: var(--link-text-decoration-hover);
}


/* top header menu */
.header-top-menu li{
  border: none;
}

.header-top-menu li a {
  color: var(--link-color);
  text-decoration: var(--link-text-decoration);
  font-size: 1rem;
}

.header-top-menu li a:hover {
  color: var(--link-hover-color);
}

/* CURRENCY BLOCK */

.currency-block {
  position: relative;
  margin-right: 2rem;
}

.currency-block i {
  color: var(--link-hover-color);
}

.cb-main {
  font-size: 1rem;
  color: var(--all-font-color);
  cursor: pointer;
}

.cb-main .feather {
  stroke-width: var(--stroke-width);
  stroke: var(--stroke-color);
}

/* currency block dropdown */
.cb-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.477rem);
  left: calc(100% - 4.8rem);
  z-index: var(--z-index-standart-level);
  box-shadow: var(--main-shadow);
  padding: 1rem;
  background-color: #fff;
}

.cb-dropdown.active {
  display: block;
}

.cb-item {
  font-size: 1rem;
  color: var(--all-font-color);
  text-decoration: var(--link-text-decoration);
  margin-bottom: .4rem;
}

.cb-item a {
  color: inherit;
  text-decoration: inherit;
}

.cb-item a:hover {
  color: var(--link-hover-color);
}

/* LANGUAGE BLOCK */

.language-block {
  position: relative;
  margin-right: 2rem;
}

.language-block i {
  color: var(--link-hover-color);
}

.lb-main {
  font-size: 1rem;
  color: var(--all-font-color);
  cursor: pointer;
}

.lb-main .feather {
  stroke-width: var(--stroke-width);
  stroke: var(--stroke-color);
}

.lb-main .fa-solid.fa-globe {
  /* Твои стили */
  color: #0086C4 !important;
  width: .6rem !important;
  height: .6rem !important;
  margin-right: .8rem !important;
}

/* currency block dropdown */
.lb-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.477rem);
  left: calc(100% - 5.3rem);
  z-index: var(--z-index-standart-level);
  box-shadow: var(--main-shadow);
  padding: 1rem 2rem;
  background-color: #fff;
}

.lb-dropdown.active {
  display: block;
}

.lb-item {
  font-size: 1rem;
  color: var(--all-font-color);
  text-decoration: var(--link-text-decoration);
  margin-bottom: .4rem;
}

.lb-item a {
  color: inherit;
  text-decoration: inherit;
}

.lb-item a:hover {
  color: var(--link-hover-color);
}

/* SUPPORT BLOCK */
.sb-main {
  font-size: 1rem;
  color: var(--all-font-color);
  cursor: pointer;
  text-decoration: var(--link-text-decoration);
}

.sb-main a {
  color: inherit;
  text-decoration: inherit;
}

.sb-main i {
  color:#0086C4
}

/* LOGO Block */
.logo-block {
  width: 14rem;
  height: auto;
}

/* Search */

.search-btn {
  width: 4rem;
  height: 2.6rem;
  border: none;
  background: #0086C4;
  cursor: pointer;
  font-size: 20px;
  border-radius: 0 1rem 1rem 0;
  color: aliceblue;
  line-height: 1;
}

.search-btn .feather {
  stroke-width: 1.25;
}

.searchtext {
  width: 30rem;
  height: 2.6rem;
  background: #F0F3F5;
  border: none;
  border-radius: 0.8rem 0 0 0.8rem;
  color:var(--all-font-color);
  padding-left: 0.6rem;
  font-family: "RobotoLight", Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 0.9rem;
}

.searchtext::placeholder {
  color: #9f9fa1;
  padding-left: 0.6rem;
  font-family: "NotoSansLight", Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  font-size: 0.9rem;
}

.searchtext:focus {
  box-shadow: inset -0.1rem 0.1rem 0.3rem rgb(149 145 145 / 30%);
  outline: none;
}

/* MOBILE MENU BTN */


.mobile-menu-btn .feather{
  stroke:var(--all-font-color);
  text-decoration: var(--link-text-decoration);
}

/* TOOLS ICON */
.tools-icon {
  font-size: 1rem;
  color: var(--all-font-color);
  text-decoration: var(--link-text-decoration);
  cursor: pointer;
}

.tools-icon a {
  color: inherit;
  text-decoration: inherit;
  margin-left: 2rem;
  align-self: center;
}

.tools-icon a:hover {
  color: var(--link-hover-color);
}

.tools-icon .feather {
  stroke-width: var(--stroke-width);
  stroke: var(--stroke-color);
}

/* CATEGORY BLOCK */

/* CATEGORY Button */

/* Products Menu Container */
.products-menu-container {
  position: relative;
}

/* Main Button */
#productsButton {
  background-color: #F0F3F5;
  color: var(--all-font-color);
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease;
  font-size: 1rem;
}

#productsButton:hover {
  color: #0086C4;
}

#productsButton:focus {
  background-color: #0086C4;
  color:#fff;
  outline:none !important;
  border: none;
  box-shadow: none !important;
}

#productsButton .icon-container {
  display: inline-block;
  min-width: 20px; /* Подбери подходящее значение */
  text-align: center;
}

.dropped-menu-block {
  position: absolute;
  top:100%;
  margin-top: 1rem;
  left: 0;
  display: none;
  z-index: 3;
  border-radius: 0.3rem;
  box-shadow: -0.1rem 0.1rem 0.3rem 0.1rem rgb(149 145 145 / 30%);
  box-sizing: border-box;
}

/* Main Menu */
.main-menu {
  width: 300px;
  background-color: #F0F3F5;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-in-out; /* Плавное закрытие */
}

.main-menu.show {
  opacity: 1;
  pointer-events: auto;
  max-height: 100rem;
}

/* Menu Items */
.menu-item {
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  font-family: "NotoSansRegular", Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
.menu-item:last-child {
  border-bottom: none;
}

.menu-item a {
  color: var(--all-font-color);
  transition: color 0.2s ease;
  text-decoration: none;
  display: flex; /* Flexbox для выравнивания элементов */
  justify-content: space-between; /* Расстояние между текстом и иконкой */
  align-items: center; /* Вертикальное выравнивание по центру */
  width: 100%; /* Занимает всю ширину родителя */
  font-size: 1rem;
  
}

.menu-item:nth-child(-n+2) {
  font-family: "NotoSansBold", Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

.menu-item a:hover {
  color: #0086C4;
  text-decoration: none;
  stroke:#0086C4;
}

/* Submenu */
.submenu {
  background-color: #fff;
  display: none;
  opacity: 0;
  overflow: auto;
}

@keyframes slideInRight {
  0% {
    transform: translateX(-30px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.submenu.active {
  display: block;
  opacity: 1;
  animation: slideInRight 0.3s ease-out;
}

/* Grid Layout for Submenu */
.grid {
  column-count: 4;         /* Сколько колонок */
  column-gap: 2rem;        /* Расстояние между колонками */
}

.submenu-column {
  display: inline-block;
  width: 100%;
  padding-bottom: 1.2rem;
  break-inside: avoid;     /* Не разрывать блок между колонками */
}

.submenu-title {
  font-size: 1rem;
  color: var(--all-font-color);
  margin-bottom: 0.75rem;
}

.submenu-title a {
  color: inherit;
  text-decoration: inherit;
}

.submenu-title a:hover {
  color: #0086C4;
}

.submenu-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.submenu-links a {
  color: var(--all-font-color);
  transition: color 0.2s ease;
  text-decoration: none;
  font-size: 1rem;
}

.submenu-links a:hover {
  color: var(--link-hover-color);
}

.submenu-links .display-all {
  font-size: .9rem;
  color: var(--all-font-color);
  margin-top: 0.5rem;
  text-decoration: underline;
}

.display-all:hover {
  color: var(--link-hover-color);
  text-decoration: none;
}

/* EXTAR MENU */
.extra-menu-link {
  font-size: 1rem;
  color:var(--all-font-color);
  text-decoration: var(--link-text-decoration);
  margin-left:2rem;
}

.extra-menu-link:hover {
  color: var(--link-hover-color);
}

/* NEW RELEASES */

.newreleases-title {
  color: #fff;
  background: #0086C4;
  padding: 1rem 3rem;
  border-radius: 2rem;
  display: inline-block;
  font-size: 1rem;
  cursor: pointer;
}


.products-list {
  transition: transform 0.5s ease;
  overflow: hidden;
  width: 100%;
}

.pl-one-block {
  display: block;
  flex-shrink: 0;
  height: 100%;
  position: relative;
  transition-property: transform;
  width: 100%;
}

.product-inner-block {
  padding: 1rem;
  width: 100%;
  display: grid;
  gap: 1rem;
  position: relative;
  
}

.product-new-title {
  color: #0086C4;
  font-size: 0.7rem;
  text-transform: uppercase;
  position: absolute;
  top: 0;
  left: auto;
  right: .5rem;
  border: 0.1rem solid #0086C4;
  border-radius: 0.5rem;
  padding: 0.4rem 0.8rem;
}

.product-top-part {
  display: flex;
  justify-content: center;
  position: relative;
}

.product-cat-name {
  background: #F0F3F5;
  font-size: .9rem;
  color: var(--all-font-color);
  display: inline-block;
  border-radius: .6rem;
  padding: 0.2rem .7rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.product-name a {
  font-size: 1rem;
  color: var(--all-font-color);
  margin-top: .5rem;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

  line-height: 1.4em;   /* высота строки */
  max-height: 2.8em;    /* 2 строки * 1.4em */
  min-height: 2.8em;    /* фиксируем минималку, чтобы пустоты не было */
}

.product-short-desc {
  color: var(--all-font-color);
  font-size: 0.8rem;
  margin-top: 1rem;
  height: 3rem;
  word-break: break-word; /* Принудительный перенос слова */
  overflow-wrap: break-word; /* Альтернативное свойство */
}

.products-bottom-part {
  position: relative;
  z-index: 2;
}

.product-info-block {
  display: none;
  position: absolute;
  bottom: -110%; /* Начальное положение (спрятано снизу) */
  left: 0;
  width: 100%;
  height: 150%; /* Высота 110% */
  background-color: #fff;
  box-shadow: -0.1rem 0.1rem 0.3rem rgba(149, 145, 145, 0.3);
  padding: 1rem;
  z-index: 1;
  overflow: hidden; /* Чтобы контент не выходил за границы */
  margin-bottom: 2rem;
}

.product-info-block.active {
  display: block;
}


.product-details-text {
  color: var(--all-font-color);
  font-size: .9rem;
  margin-bottom: 1rem;
}

.product-details-text-link,
.product-details-text-link:hover {
  color: var(--all-font-color);
}

.product-goto-item {
  width: 100%;
  text-align: center;
  background: #0086C4;
  border-radius: .6rem;
  color: #fff;
  font-size: 1.2rem;
  margin-top: 2rem;
  padding: 1.4rem 0rem;
  position: relative;
  display: flex; /* Используем flexbox */
  justify-content: center; /* Горизонтальное центрирование */
  align-items: center; /* Вертикальное центрирование */
}

.product-goto-item a {
  color: inherit; /* Наследует цвет текста от родителя */
  font-size: inherit; /* Наследует размер шрифта */
  text-decoration: none; /* Наследует стиль подчеркивания */
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  z-index: 1;
  display: flex; /* Включаем flexbox для текста внутри ссылки */
  justify-content: center; /* Горизонтальное центрирование текста внутри ссылки */
  align-items: center; /* Вертикальное центрирование текста внутри ссылки */
}

.product-goto-item-link {
  color: var(--all-font-color);
  font-size: 1rem;
  text-decoration: var(--link-text-decoration);
}

.product-goto-item-link a {
    text-decoration: inherit;
    display: block;
    background: #0086C4;
    width: 80%;
    text-align: center;
    padding: 0.7rem 0rem;
    color: white;
    font-size: 1rem;
    border-radius: 0.4rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-goto-item-link a:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* по желанию — тень */
}



.products-bottom-part {
  position: relative;
  z-index: 2;
  margin-top: 0rem;
  display: flex; /* Включаем flexbox */
  
}

.products-bottom-part div:last-child {
  margin-left: auto; /* Второй элемент прижмется к правому краю */
}

.pbp-fav {
  color: var(--all-font-color);
  stroke-width: 1;
  display: flex;
  justify-content: center; /* Горизонтальное центрирование текста внутри ссылки */
  align-items: center; /* Вертикальное центрирование текста внутри ссылки */
  border:none;
  background: none;
}

.pbp-fav a {
  color: inherit; /* Наследует цвет текста от родителя */
  font-size: inherit; /* Наследует размер шрифта */
  text-decoration: none; /* Наследует стиль подчеркивания */
  stroke-width: inherit;
}

.pbp-fav .feather:hover {
  fill: rgba(255, 55, 0, 0.753);
}


.pbp-login {
  color: var(--all-font-color);
  border: 0.1rem solid var(--all-font-color);
  border-radius: .6rem;
  overflow: hidden;
  position: relative;
  text-align: center; /* чтобы текст был по центру */
}

.pbp-login:hover {
  border-color: #0086C4;
}

.pbp-login a {
  color: inherit;
  font-size: inherit;
  text-decoration: none;
  display: block;
  padding: 0.6rem 1rem; /* Сюда дублируем padding для самой ссылки */
  box-sizing: border-box; /* чтобы паддинг не ломал размеры */
  transition: background-color 0.3s, box-shadow 0.3s;
}

.pbp-login a:hover {
  background-color: rgb(0, 134, 196);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color:white;
}

.addtocart-btn {
  color: var(--all-font-color);
  border: 0.1rem solid var(--all-font-color);
  border-radius: .6rem;
  overflow: hidden;
  position: relative;
  text-align: center; /* чтобы текст был по центру */
  background: none;
  padding: 0.2rem 0.4rem;
  
}

.addtocart-btn:hover {
  background-color: rgb(0, 134, 196);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color:white;
  border:none;
}

.pl-controls {
  /* margin-top: -3rem; */
  display: flex;
}

.pl-next,.pl-prev {
  width: 4rem;
  height: 4rem;
}

.pl-prev a {
  background: url(../img/slide/b-arrows.png) 12px 15px no-repeat;
  padding: 1rem 1.6rem;
  background-size: 5rem;
  text-decoration: none;
  border-radius: 2rem;
  box-shadow: -0.1rem 0.1rem 0.3rem rgba(149, 145, 145, 0.3);
}

.pl-next a {
  background: url(../img/slide/b-arrows.png) -38px 15px no-repeat;
  padding: 1rem 1.6rem;
  background-size: 5rem;
  text-decoration: none;
  border-radius: 2rem;
  box-shadow: -0.1rem 0.1rem 0.3rem rgba(149, 145, 145, 0.3);
}

.pl-next:disabled,
.pl-prev:disabled {
  cursor: not-allowed;
}

/* Стили для полосы прогресса */
.progress-container {
  width: 40%;
  height: 5px;
  background-color: #dddddd;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background-color: #5e5e5f;
  border-radius: 10px;
  transition: width 0.3s ease;
} 


/* OUR Projects */

.projects-title {
  font-size: 2rem;
  color: var(--all-font-color);
}

/* viewport + track */
.projects-viewport { overflow: hidden; }
.projects-track {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.4s ease;
  will-change: transform;
}

/* slide (по умолчанию 4 в ряд) */
.pjl-one-block {
  flex: 0 0 25%;
  max-width: 25%;
  box-sizing: border-box;
  padding: 0 12px;
}

/* картинка */
.projects-viewport .pjl-one-block .main-photo {
  width: 100%;
  height: 14rem;
  object-fit: cover;
}

/* тени и прочее (твоё) */
.project-inner-block { box-shadow: var(--main-shadow); }
.project-name { font-size: 1rem; color: var(--all-font-color); margin: .5rem 0 1rem; text-align: center; height: 1rem; }
.project-readmore { font-size: 1rem; color: var(--all-font-color); margin: 5rem 0 1rem; }
.project-readmore a { color: inherit; text-decoration: none; }
.project-readmore a:hover { text-decoration: underline; }
.project-read-arrow { width: 1rem; margin-left: .6rem; }

/* controls (как у тебя) */
.pjl-controls { display: flex; }
.pjl-next,.pjl-prev { width: 4rem; height: 4rem; }
.pjl-prev a {
  background: url(../img/slide/b-arrows.png) 12px 15px no-repeat;
  background-size: 5rem; padding: 1rem 1.6rem; border-radius: 2rem;
  text-decoration: none; box-shadow: -0.1rem 0.1rem 0.3rem rgba(149,145,145,.3);
}
.pjl-next a {
  background: url(../img/slide/b-arrows.png) -38px 15px no-repeat;
  background-size: 5rem; padding: 1rem 1.6rem; border-radius: 2rem;
  text-decoration: none; box-shadow: -0.1rem 0.1rem 0.3rem rgba(149,145,145,.3);
}
.pjl-next:disabled,.pjl-prev:disabled { cursor: not-allowed; }




/* FOOTER */

.logo-list {
  background:#F0F3F5;
}

.footer-company-logos {
  width: 100%;
  max-width: 160px; 
  max-height: 60px;
}

.footer-foot-back {
  background: #364049;
}


.footer-foot-col-title {
  color: #F0F3F5;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.footer-foot-col-text {
  color: #fff;
  font-size: .9rem;
  margin-bottom: 1rem;
}

.footer-foot-col-text a {
  color: #fff;
  text-decoration: none;
}

.footer-foot-col-text a:hover {
  text-decoration: underline;
}
.footer-foot-social div {
  margin: 0 1rem;
}
.footer-foot-social a .feather {
  text-decoration: none;
  stroke: #fff;
  width: 100%;
  max-width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center; /* Выравнивание по вертикали */
  justify-content: center; /* Выравнивание по горизонтали */
}

.footer-foot-copyright {
  color: #fff;
}


/* MOBILE MENU */

.body-overflow {
  overflow: hidden;
}
.mobile-menu-block {
  position: fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  z-index: var(--z-index-above-all-level);
  overflow-y: auto;
  background: rgba(91, 91, 91, 0.8);
  transition: background-color 0.4s ease;
}

.mobile-menu-block.fadeout {
  background-color: rgba(91, 91, 91, 0);
}

.mmb-menu-self {
  z-index: 10;
}

.mmb-inner-fixed-block {
  position: fixed;
  display: flex;
  max-width: 100%;
  bottom: 0;
  top:0;
  right: -100%;
  transition: none; /* Убираем CSS transition, чтоб не мешал jQuery */
}

.mmb-inner-maxwidth-block {
  width: 100vw;
  max-width: 28rem;
}

.mmb-inner-flex-block {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: rgb(255 255 255 / 1);
}

.mmb-closeButton {
  font-size: 1rem;
  color: var(--all-font-color);
  text-decoration: var(--link-text-decoration);
  cursor: pointer;
  border: none;
  border-bottom: 1px solid #ddd;
}
.mobile-tools-link{
  color: var(--all-font-color);
  text-decoration: var(--link-text-decoration);
  font-size: 1rem;
  border-bottom: 1px solid #ddd;
}

.mobile-tools-link:hover {
  color: var(--link-hover-color);
}


.mmb-products-btn {
  background-color: rgb(240 243 245 / 1) !important;
  font-size: 1rem;
  color: var(--all-font-color);
}

.mmb-products-btn i {
  margin-right:.4rem;
}

.mam-link {
  color: var(--all-font-color);
  text-decoration: none;
  font-size: 1rem;
}

.mam-div-link {
  color: var(--all-font-color);
  text-decoration: none;
  font-size: 1rem;
}

.moble-accordion-menu-block {
  display: none;
  grid-template-columns: 1fr;
  position: relative;
  overflow: hidden;
}

/* mobile-menu-footer-block */
.mobile-menu-footer-block {
  background: #364049;
}
.mobile-menu-footer-block-items {
  font-size: 1rem;
  border-bottom: 1px solid #fff;
  color: #fff;
}
.mobile-menu-footer-openblock a {
  color: #fff;
  text-decoration: none;
  display: block;
}

.mobile-menu-footer-openblock {
  display: none;
  position: relative;
}
.mobile-menu-footer-openblock .footer-foot-col-text a {
  text-decoration: underline;
}

.mmfb-link {
  text-decoration: none;
  display: block;
  color: #bec7b6;
}
.mmfb-link:focus {
  color: #bec7b6;
}

/* category-mobile-list */
.category-mobile-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.category-mobile-list li {
  padding: 0.5rem 0rem;
}

.category-mobile-list li a {
  color: var(--all-font-color);
  text-decoration: var(--link-text-decoration);
  font-size: 1rem;
  display: block;
}

.nextmenu {
	position: absolute;
	top: 0;
	left: 100%;
	width: 100%;
	height: 100%;
	background: #fff;
	z-index: 100;
	padding: 20px;
	transition: left 0.3s ease;
	display: block;
  overflow-y: scroll;
}

.nextmenu.active {
	left: 0;
}

.nextmenu li {
	list-style: none;
	margin-bottom: 0;
}

.nextmenu a {
	display: flex;
	align-items: center;
	color: var(--all-font-color);
	text-decoration: none;
	font-size: 1rem;
	transition: color 0.2s ease;
	padding: 5px 10px;
}

/* Только для обычных пунктов меню — не для backlevel */
.nextmenu a:not(.backlevel) {
	justify-content: space-between;
}


.nextmenu .backlevel {
	color: #555;
}

.nextmenu .backlevel svg {
  height: 1.3rem;
  margin-right: .8rem;
}

.nextmenu .display-all {
  font-size: .9rem;
  text-decoration: underline;
  line-height: 1;
  margin: 0;
  padding: .4rem 0;
}

.nextmenu span {
  font-size: 1rem;
  line-height: 1;
  margin: 0;
  padding: .4rem 0;
}

.nextmenu i {
	font-size: 14px;
	color: #888;
}

/* PAGER NAVIGATION */
.pager-navigation {
  font-size: 1rem;
  padding: .6rem .8rem;
}
.pager-navigation i {
  font-size: .6rem;
  margin: 0 .4rem;
  line-height: 1rem;
}
.pager-navigation a {
  color:var(--all-font-color);
  cursor: pointer;
  text-decoration: var(--link-text-decoration);
  line-height: 1;
}
.pager-navigation a:hover,
.pager-navigation a:active,
.pager-navigation .activelink {
  color: var(--link-hover-color);
  transition: ease .6s;
}

/* CATEGORY PAGE */

.category-page-title {
  font-size: 3rem;
  color: var(--all-font-color);
  text-shadow: var(--text-shadow);
}

.category-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--main-shadow);
  cursor: pointer;
}

.category-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.category-title {
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
  padding: 10px 0;
  margin: 0;
  color:var(--all-font-color);
}

@media (max-width: 767px) {
  .category-img {
    height: 150px;
  }
}

/* CATEGORY PAGE PRODUCTS */
.category-products-list {
  overflow: hidden;
}

.load-more-btn {
  background: #0086C4;
  border-radius: 0.4rem;
  color:white;
  font-size: 1rem;
  padding: 0.8rem 1.7rem;
  border: none;
}

.no-image {
  height: 150px;
  width: 100%;
  color: #999;
  font-size: 0.9rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  text-decoration: none;
}

.category-product-inner-block {
  padding: 1rem;
  width: 100%;
  display: grid;
  gap: 1rem;
  position: relative;
}

.category-product-new-title {
  color: #0086C4;
  font-size: 0.7rem;
  text-transform: uppercase;
  position: absolute;
  top: 0;
  left: auto;
  right: .5rem;
  border: 0.1rem solid #0086C4;
  border-radius: 0.5rem;
  padding: 0.4rem 0.8rem;
}

.category-product-top-part {
  display: flex;
  justify-content: center;
  position: relative;
}

.category-product-cat-name {
  background: #F0F3F5;
  font-size: .9rem;
  color: var(--all-font-color);
  display: inline-block;
  border-radius: .6rem;
  padding: 0.2rem .7rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.category-product-name {
  height: 4rem;
}

.category-product-name a {
  font-size: 1rem;
  color: var(--all-font-color);
  margin-top: .5rem;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

  line-height: 1.4em;   /* высота строки */
  max-height: 2.8em;    /* 2 строки * 1.4em */
  min-height: 2.8em;    /* фиксируем минималку, чтобы пустоты не было */
}

.category-product-short-desc {
  color: var(--all-font-color);
  font-size: 0.8rem;
  margin-top: 1rem;
  height: 3rem;
  word-break: break-word; /* Принудительный перенос слова */
  overflow-wrap: break-word; /* Альтернативное свойство */
}

.category-products-bottom-part {
  position: relative;
  z-index: 2;
}

.category-product-info-block {
  display: none;
  position: absolute;
  bottom: -110%; /* Начальное положение (спрятано снизу) */
  left: 0;
  width: 100%;
  height: 150%; /* Высота 110% */
  background-color: #fff;
  box-shadow: -0.1rem 0.1rem 0.3rem rgba(149, 145, 145, 0.3);
  padding: 1rem;
  z-index: 1;
  overflow: hidden; /* Чтобы контент не выходил за границы */
  margin-bottom: 2rem;
}

.category-product-info-block.active {
  display: block;
}


.category-product-details-text {
  color: var(--all-font-color);
  font-size: .9rem;
  margin-bottom: 1rem;
}

.category-product-details-text-link,
.category-product-details-text-link:hover {
  color: var(--all-font-color);
}

.category-product-goto-item {
  width: 100%;
  text-align: center;
  background: #0086C4;
  border-radius: .6rem;
  color: #fff;
  font-size: 1.2rem;
  margin-top: 2rem;
  padding: 1.4rem 0rem;
  position: relative;
  display: flex; /* Используем flexbox */
  justify-content: center; /* Горизонтальное центрирование */
  align-items: center; /* Вертикальное центрирование */
}

.category-product-goto-item a {
  color: inherit; /* Наследует цвет текста от родителя */
  font-size: inherit; /* Наследует размер шрифта */
  text-decoration: none; /* Наследует стиль подчеркивания */
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  z-index: 1;
  display: flex; /* Включаем flexbox для текста внутри ссылки */
  justify-content: center; /* Горизонтальное центрирование текста внутри ссылки */
  align-items: center; /* Вертикальное центрирование текста внутри ссылки */
}

.category-product-goto-item-link {
  color: var(--all-font-color);
  font-size: 1rem;
  text-decoration: var(--link-text-decoration);
}

.category-product-goto-item-link a {
  text-decoration: inherit;
  display: block;
  background: #0086C4;
  width: 80%;
  text-align: center;
  padding: 0.7rem 0rem;
  color: white;
  font-size: 1rem;
  border-radius: 0.4rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-product-goto-item-link a:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* по желанию — тень */
}

.category-products-bottom-part {
  position: relative;
  z-index: 2;
  margin-top: 0rem;
  display: flex; /* Включаем flexbox */
  
}

.category-products-bottom-part div:last-child {
  margin-left: auto; /* Второй элемент прижмется к правому краю */
}

.category-pbp-fav {
  color: var(--all-font-color);
  stroke-width: 1;
  display: flex;
  justify-content: center; /* Горизонтальное центрирование текста внутри ссылки */
  align-items: center; /* Вертикальное центрирование текста внутри ссылки */
}

.category-pbp-fav a {
  color: inherit; /* Наследует цвет текста от родителя */
  font-size: inherit; /* Наследует размер шрифта */
  text-decoration: none; /* Наследует стиль подчеркивания */
  stroke-width: inherit;
}

.category-pbp-fav a .feather:hover {
  fill: rgba(255, 55, 0, 0.753);
}


.category-pbp-login {
  color: var(--all-font-color);
  border: 0.1rem solid var(--all-font-color);
  border-radius: .6rem;
  overflow: hidden;
  position: relative;
  text-align: center; /* чтобы текст был по центру */
}

.category-pbp-login:hover {
  border-color: #0086C4;
}

.category-pbp-login a {
  color: inherit;
  font-size: inherit;
  text-decoration: none;
  display: block;
  padding: 0.6rem 1rem; /* Сюда дублируем padding для самой ссылки */
  box-sizing: border-box; /* чтобы паддинг не ломал размеры */
  transition: background-color 0.3s, box-shadow 0.3s;
}

.category-pbp-login a:hover {
  background-color: rgb(0, 134, 196);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color:white;
}


/* ONE PRODUCT PAGE */


/* SLIDE IMAGES PART */


.one-product-block .card-img-top {
  width: auto;
  height: 500px;
  object-fit: contain;
}

.one-product-block .card {
  border:none;
  width: 800px;
}

.thumb-wrapper {
  width: 63%;
  margin: 2rem auto 0 auto;

}

.thumb-track-wrapper {
  overflow: hidden;
}

.thumb-inner {
  transition: margin-left 0.4s;
}

.thumb-image {
  margin: 0 .2rem;
  border: 3px solid #fff;
  flex-shrink: 0;
}

.thumb-image.active {
  border: 3px solid #2bbcff;
}

.prev-button,
.next-button {
  background: #0086C4;
  border: none;
  color: white;
  border-radius: .4rem;
  padding: .2rem .6rem;
  height: 40px;
  align-self: center;
}

/* INFO PART */

.one-product-block .product-add-to-cart {
  --un-bg-opacity: 1;
    background-color: rgb(240 243 245 / var(--un-bg-opacity));
    padding:2rem 0.6rem;
}

.one-product-block .product-add-to-cart .product-price {
  color: var(--all-font-color);
  font-size: 1.4rem;
  text-align: center;
  align-self: center;
}

.one-product-block .product-add-to-cart .product-buy-btn {
  text-align: center;
  color: white;
  background: #0086C4;
  cursor: pointer;
  border-radius: 0.4rem;
  align-self: center;
  padding: 1rem 0rem;
}

.one-product-block .product-add-to-cart .product-addtocart-btn {
  color: white;
  background: none;
  border:none;
}

.one-product-block .product-title {
  font-size: 1.6rem;
  color: var(--all-font-color);
  width: 70%;
}

.one-product-block .product-manufacturer {
  font-size: 1rem;
  color: var(--all-font-color);
}

.one-product-block .extra-info-block {
  color:var(--all-font-color);
  font-size: 1rem;
}

.one-product-block .product-desc {
  font-size: 1rem;
  color:var(--all-font-color);
  word-break: break-word; /* Принудительный перенос слова */
  overflow-wrap: break-word; /* Альтернативное свойство */
}

/* PAGE LINE */
.page-line {
  width: 100%;
  height: 0.2rem;
  margin: 0 auto;
  background: linear-gradient(to right, transparent, #dedede, transparent);
  border-radius: 1rem;
}

/* ZOOM GLASS */
.img-magnifier-container {
  position: relative;
}

.img-magnifier-glass {
  position: absolute;
  border: 0.01rem solid #000;
  border-radius: 50%;
  cursor: none;
  width: 200px;
  height: 200px;
  overflow: hidden;
  background-repeat: no-repeat;
  background-color: #fff;
  display: none; /* 🪄 Скрыта по умолчанию */
  z-index: 9999; /* чтобы не пряталась за другими элементами */
}

.magnify-active {
  cursor: none !important;
}

/* LINK TO FORMS Login and signin */
body.noscroll {
  overflow: hidden;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 999;
}

#login-panel {
  position: fixed;
  top: 0;
  right: -300px; /* стартовое положение за пределами экрана */
  width: 25rem;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 5px rgba(0,0,0,0.5);
  z-index: 1000;
  padding: 20px;
}

.hidden {
  display: none;
}

.login-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
  top: -3rem;
}

.login-content h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  color: var(--all-font-color);
}

.login-content a {
  display: inline-block;
  min-width: 300px;
  margin: 10px 0;
  color: white;
  background: #0086C4;
  border-radius: .4rem;
  padding: 1rem 2.5rem;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
}

.close-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
}

.close-icon {
  margin-right: 5px;
  font-size: 18px;
}

/* LOGIN PAGE */
.serviceportal-title {
  font-size: 2rem;
  color: #0086C4;
}

.back-toshop {
  text-decoration: none;
  color: var(--all-font-color);
  font-size: 1.2rem;
}

.back-toshop i {
  position: relative;
  top:0.1rem;
}

.back-toshop:hover {
  color: #0086C4;
}

.loginpage {
  min-height: calc(100vh - 300px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loginpage .row {
  width: 50%;
}

.loginpage .form-block {
  background: white;
  box-shadow: var(--main-shadow);
  padding: 2rem;
  border-radius: .4rem;
}
.loginpage .form-block form {
  width: 100%;
  height: 30rem;
  display: flex;
  flex-direction: column;
  align-items: normal;
  justify-content: center;
}
.loginpage .submit-btn {
  border: none;
  background: #0086C4;
  color:white;
  border-radius: .4rem;
  padding: .6rem 1rem;
}
.loginpage .portal-form-title {
  font-size: 2.8rem;
  color:#0086C4;
}

#togglePassword:focus {
  box-shadow: none;
  outline: none;
}

#togglePassword:focus,
#togglePassword:active {
  border-color: transparent;
}


/* REGISTER PAGE */
.regpage {
  min-height: calc(100vh - 300px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.regpage .row {
  width:80%
}

.regpage .form-block {
  background: white;
  box-shadow: var(--main-shadow);
  padding: 2rem;
  border-radius: .4rem;
}
.regpage .form-block form {
  width: 100%;
  height: 30rem;
  display: flex;
  flex-direction: column;
  align-items: normal;
  justify-content: center;
}
.regpage .submit-btn {
  border: none;
  background: #0086C4;
  color:white;
  border-radius: .4rem;
  padding: .6rem 1rem;
}
.regpage .portal-form-title {
  font-size: 2.8rem;
  color:#0086C4;
}
.regpage .reg-form-title {
  color:var(--all-font-color);
  font-size: 2rem;
}
.regpage .reg-form-block {
  background: white;
  box-shadow: var(--main-shadow);
  padding: 2rem;
  border-radius: .4rem;
}
.regpage .reg-form-block form{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: normal;
  justify-content: center;
}


/* SHOPPING CART */
.shopping-cart .cont-shop {
  color:var(--all-font-color);
  text-decoration: none;
  font-size: 1rem;
}

.shopping-cart .cont-shop:hover {
  color:var(--link-hover-color);
}

.shopping-cart .main-title {
  font-size: 2rem;
  color:var(--all-font-color);
}


.shopping-cart .cart-item {
  display: flex;
  box-shadow: var(--main-shadow);
  border-radius: 0.4rem;
  margin: 1rem 0;
  background-color: #F9F9F9;
  font-size: 1rem;
  color: var(--all-font-color);
  padding: 1rem;
  align-items: stretch; /* ВАЖНО: чтобы колонки были одинаковой высоты */
}

.shopping-cart .item-image img {
  width: 10rem;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.shopping-cart .item-details {
  flex-grow: 1;
  width: 100%;
  margin-left: 2rem;
}

.shopping-cart .item-details .width {
  max-width: 60%;
}

.shopping-cart .item-details h4 {
  margin: 0 0 5px;
  font-size: 1rem;
}

.shopping-cart .item-details p {
  margin: 0 0 10px;
  color: #666;
  font-size: 0.9rem;
}

.shopping-cart .item-actions {
  display: flex;
  flex-direction: column;
  width: 10rem;
  gap: 0.5rem;
  justify-content: end;
}

.shopping-cart .quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  padding: 0.4rem;
  
}

.shopping-cart .quantity button {
  background-color: #eaf4ff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 20px;
  font-weight: bold;
  color: #336699;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shopping-cart .quantity button:hover {
  background-color: #d0eaff;
}

.shopping-cart .qty-display {
  min-width: 30px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.shopping-cart .remove-and-price {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 10rem;
  height: 100%;
  padding: 0.5rem 0;
  box-sizing: border-box;
}

.exportcart-link {
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  background: #0086C4;
  padding: 1rem;
  border-radius: .4rem;
}

.exportcart-link:hover {
  color:#fff;
}

.cart-no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 8rem;
  background-color: #f0f0f0;
  color: #888;
  font-size: 0.9rem;
  border-radius: 8px;
  border: 1px dashed #ccc;
  width: 10rem;
}

.shopping-cart .remove-and-price .remove-btn {
  background-color: #ffecec;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: #b30000;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.shopping-cart .remove-and-price .remove-btn:hover {
  background-color: #ffcccc;
}

.shopping-cart .remove-and-price .price {
  font-size: 16px;
  color: #222;
  margin-top: auto; /* прижмёт вниз */
  padding-top: 3rem; /* чтобы не прилипала к краю */
}

.shopping-cart .subtotal {
  display:flex;
}

.shopping-cart .subtotal .subtitle {
  color:var(--all-font-color);
  font-size: 1.4rem;
  margin-right: 10rem;
}

.shopping-cart .subtotal .subprice {
  color:var(--all-font-color);
  font-size: 1rem;
  line-height: 2.4;
}

.shopping-cart .subcheckout {
  font-size: 1.4rem;
  background: #0086C4;
  box-shadow: var(--main-shadow);
  padding: 0.4rem 4.2rem;
  color:white;
  text-decoration: none;
}

.shopping-cart .subcheckout:hover {
  
  background: white;
  color:#0086C4;
  border:.1rem solid #0086C4;
  
}

/* CHECKOUT PAGE */

.checkout-title {
  font-size: 2rem;
  color:var(--all-font-color);
}

.checkout .order-block {
  box-shadow: var(--main-shadow);
  background: white;
}

.checkout .reviewOrder-title {
  font-size:1.4rem;
  color: var(--all-font-color);
  text-align: center;
  text-transform: uppercase;
  /* margin-bottom: 1rem; */
}

.checkout .reviewOrder-product {
  font-size: 1rem;
  color:var(--all-font-color);
  width: 70%;
}

.checkout .reviewOrder-quantity {
  font-size: 1rem;
  color:var(--all-font-color);
  margin-left: 1rem;
}

.checkout .reviewOrder-price {
  font-size: 1.2rem;
  color: var(--all-font-color);
}



.checkout .reviewOrder-product-image img{
  width: 5rem;
  object-fit: cover;
}

.checkout .reviewOrder-subtitle {
  font-size: 1rem;
  color: var(--all-font-color);
}

.checkout .reviewOrder-subprice {
  font-size: 1rem;
  color: var(--all-font-color);
  margin-left: 1rem;
}

.checkout .customerInfo-block {
  box-shadow: var(--main-shadow);
  background: white;
}

.checkout .customerInfo-title {
  font-size:1.4rem;
  color: var(--all-font-color);
  text-align: center;
  text-transform: uppercase;
}

.checkout .customerInfo-details {
  font-size:1rem;
  color:var(--all-font-color);
}

.checkout .orderSummary-block {
  box-shadow: var(--main-shadow);
}

.checkout .thin-line {
  height: 0.1rem;
  width: 100%;
  background: linear-gradient(to right, transparent, rgba(128, 128, 128, 0.5), transparent);
  border: none;
  margin: 1rem 0;
}

.checkout .orderSummary-title {
  font-size:1.4rem;
  color: var(--all-font-color);
  text-align: center;
  text-transform: uppercase;
}

.checkout .orderSummary-ordertotal {
  display: flex;
  justify-content: space-between;
  color:var(--all-font-color);
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-top: 5rem;
  margin-bottom: 3rem;
}

.checkout .orderSummary-confirm {
  
  width: 100%;
}

.checkout .orderSummary-confirm a{
  background: #0086C4;
  font-size: 1.2rem;
  color: white;
  text-align: center;
  padding: 1rem 0;
  text-decoration: none;
  width: 100%;
  display: block;
  transition: ease-out .2s;
}

.checkout .orderSummary-confirm a:hover {
  color:#0086C4;
  background: white;
  border:0.1rem solid #0086C4;
  transition: ease-out .2s;
  
}


.success-message {
  font-size: 1rem;
  color: var(--all-font-color);
}

.success-message a {
  font-size: 1rem;
  color:#0086C4;
  text-decoration: none;
}

.cart-quantity-icon {
  font-size: 0.7rem;
  width: 1.6rem;
  height: 1.6rem;
  line-height: 1.6rem;
  text-align: center;
  border-radius: 50%;
  /* position: absolute; */
  top: -1.1rem;
  left: 18.4rem;
  background: black;
  color: white;
  margin-right: 0.4rem;
}

/* PERSONAL CABINET */
.personal-cabinet .menu-title {
  font-size: 1.4rem;
  color: var(--all-font-color);
  text-align: center;
}

.personal-cabinet .cabinet-menu {
  border-right: 0.1rem solid rgba(128, 128, 128, 0.5);
}

.personal-cabinet .thin-line {
  height: 0.1rem;
  width: 100%;
  background: linear-gradient(to right, transparent, rgba(128, 128, 128, 0.5), transparent);
  border: none;
  margin: 1rem 0;
}

.personal-cabinet .menu-cabinet-block {
  padding: 0;
  margin: 0;
  list-style: none;
}

.personal-cabinet .menu-cabinet-block li{
  margin: 1rem 0;
  text-align: center;
}


.personal-cabinet .menu-cabinet-block li a{
  color:#0086C4;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
}


.personal-cabinet .info-block {
  font-size:1rem;
  color:var(--all-font-color);
}

.personal-cabinet .info-details-title {
  font-size:1.2rem;
  color:var(--all-font-color);
}

.personal-cabinet .info-details-title i {
  margin-right:.6rem;
  color: #0086C4;
}

.personal-cabinet .details-block {
  font-size:1rem;
  color:var(--all-font-color);
}


/* CONTACTS PAGE */
.contacts-page .contacts-country-title {
  color:var(--all-font-color);
  font-size:1.4rem;
}

.contacts-page .contacts-details {
  color:var(--all-font-color);
  font-size:1rem;
}


/* FAVORITES PAGE */

.favs-block .fav-image {
  display: flex;
  margin-bottom: 1rem;
}

.favs-block .fav-image img{
  object-fit: cover;
  width: 10rem;
  margin: auto;
}

.fav-addtocart-btn {
  background: #5BBA47;
  color: white;
  border: none;
  font-size: 1rem;
  padding: 1rem;
}

.fav-see-btn,
.fav-remove-btn {
  background: #0086C4; /* или #FF0000 для remove */
  color: white;
  font-size: 1rem;
  padding: 1.3rem;
  text-decoration: none;
  height: 100%;
}

.fav-remove-btn {
  background: #FF0000;
}

.fav-see-btn:hover,
.fav-remove-btn:hover {
  color: white;
}

.fav-addtocart-btn,
.fav-see-btn,
.fav-remove-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fav-addtocart-btn:hover,
.fav-see-btn:hover,
.fav-remove-btn:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* по желанию — тень */
}


/* LOGOS CARUSEL */
.carousel-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item-custom {
  flex: 0 0 auto;
  aspect-ratio: 4 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* LIVESEARCH */
.search-box-block .result-item {
  display: block;
  padding: 6px 10px;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #333;
}

.search-box-block .result-item:hover {
  background: #f5f5f5;
}

.search-box-block .type-label {
  color: #888;
  font-size: 12px;
  margin-left: 6px;
}

.search-box-block .result-group-title {
  padding: 8px 10px;
  font-weight: bold;
  background: #fafafa;
  border-bottom: 1px solid #ddd;
}

.search-box-block .see-all {
  padding: 10px;
  text-align: center;
  font-weight: bold;
}

.search-box-block {
  position: relative;
  width: 100%;
}

.search-box-block .search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0; /* Вместо width 100% для точного растяжения */
  z-index: 10;
  background: #fff;
  border-radius: 0.4rem;
  box-shadow: var(--main-shadow);
}

.livesearch-block {
  background: #fff;
  box-shadow: var(--main-shadow);
  position: absolute;
  left: 0;
  right: 0;
  top:100%;
  
  z-index: 999;
  width: 100%;
  padding: 0.8rem;
  display: none;
}

.sui-categories-block {
  width: 15%;
}

.hidden {
  display: none !important;
}

.items-found-block {
  width: 85%;
}

.finded-cats {
  margin: 1rem 0;
}

.sui-categories-block-inside,
.items-found-block-inside {
  font-size: 1.2rem;
  color: #333;
}

.finded-cats a{
  font-size:1.1rem;
  color: var(--all-font-color);
  text-decoration: none;

}

.finded-cats a:hover{
  color: var(--link-hover-color);
}

.product-card-horizontal {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
  height: 100%;
}

.product-card-horizontal:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.finded-product-img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  border-radius: 4px;
  overflow: hidden;
}

.finded-product-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.finded-product-info {
  flex: 1;
  min-width: 0;
}

.finded-product-manufacturer {
  font-size: 0.75rem;
  background: #eee;
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  color: #444;
  margin-bottom: 0.4rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.finded-product-name {
  font-weight: bold;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.finded-product-desc {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.3;
}

.finded-product-goto-item-link a {
    text-decoration: inherit;
    display: block;
    background: #0086C4;
    width: 80%;
    text-align: center;
    padding: 0.7rem 0rem;
    color: white;
    font-size: 1rem;
    border-radius: 0.4rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.finded-product-goto-item-link a:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* по желанию — тень */
}


/* PROJECTS PAGE */
.projects .projects-page-title {
  font-size: 2.8rem;
  color: var(--all-font-color);
  text-align: center;
  margin-bottom: 2rem;
}

.projects .main-photo {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  border-radius: 0.4rem;
}

.projects .project-name {
  font-size: 1.4rem;
  color: var(--all-font-color);
  text-align: center;
  margin-top: 1rem;
  height: 2rem;
}

/* PROJECT ONE PAGE*/
.oneproject .oneproject-title {
  font-size: 1.8rem;
  color: var(--all-font-color);
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
}

.oneproject .oneproject-mainphoto {
    text-align: center; /* Центрирует саму картинку */
}

.oneproject .oneproject-mainphoto img {
    width: 55rem; /* Или 100%, или что захочешь */
    height: auto;
    display: inline-block; /* Чтобы text-align: center работал */
}

.oneproject .oneprject-photos {
  width: 100%;
  margin: 0 auto; /* Центрирует блок */
}

.oneproject .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
    gap: 1rem;
    justify-items: center;
}

.oneproject .gallery a {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1; /* по умолчанию квадрат */
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.oneproject .gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.oneproject .gallery img:hover {
    transform: scale(1.05);
}


/* forgot-password page */
.forgot-password-link-loginform {
  color: var(--all-font-color);
  text-decoration: none;
  font-size: 1rem;
  display: block;
}

.forgot-password-link-loginform:hover {
  color: var(--link-hover-color);
  text-decoration: underline;
}


/* Change Password Account Page*/
.change-password-title {
  font-size: 2rem;
  color: var(--all-font-color);
}

.stock-prod {
  font-size: .8rem;
  color: var(--all-font-color);
}

.stock-one-prod {
  font-size: 1rem;
  color: var(--all-font-color);
}


#backToTop {
  display: none;           /* прячем по умолчанию */
  position: fixed;         
  bottom: 30px;            /* отступ от низа */
  right: 30px;             /* отступ от правого края */
  width: 40px;
  height: 40px;
  background: #0086C4;        /* фон подбери сам */
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10000;
  opacity: 0.6;
  transition: opacity .3s;
}

#backToTop:hover {
  opacity: 1;
}


/* SEARCH PAGE */
.search-result-title {
  font-size: 1.4rem;
  color: var(--all-font-color);
}

.cats-and-products-search-title {
  font-size: 1.4rem;
  color: var(--all-font-color);
}

/* Discount Products Page */
.price-box {
  font-family: 'Arial', sans-serif;
  line-height: 1.2;
}

.old-price {
  text-decoration: line-through;
  color: #555;
  font-size: 0.9rem;
}

.new-price {
  color: #1abc9c;
  font-size: 1.4rem;
  margin-top: .4rem;
}
