/*
    Theme Name: RVD
*/

@import url("assets/css/colors.css");
@import url("assets/css/fonts.css");

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat";
}

html,
body {
  overflow-x: hidden !important;
}

h1 {
  font-weight: 700;
  font-size: 39px;
  color: var(--text-black);
  text-transform: uppercase;
}

h2 {
  font-weight: 700;
  font-size: 36px;
  color: #2a2b25;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 30px;
}

h5 {
  font-weight: 700;
  font-size: 18px;
  color: #2a2b25;
  text-transform: uppercase;
}

h1.white {
  color: white !important;
}

p.white {
  color: white !important;
}

h3 {
  font-weight: 700;
  font-size: 18px;
  color: var(--text-black);
  text-transform: uppercase;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.navbar-brand {
  max-width: 118px;
}

.navbar-brand img {
  width: 100%;
}

header {
  padding: 20px 0px;
}

.navbar-top {
  padding: 0px 0px;
}

.social {
  display: flex;
  align-items: top;
  justify-content: space-between;
  margin-top: 3px;
}

.social-link {
  position: relative;
  margin: 0px 4px;
  transition: transform 0.15s ease-out;
}

.social-link img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 50%;
  transition: box-shadow 0.15s ease-out;
}

.social-link p {
  position: absolute;
  font-size: 12px;
  left: 50%;
  transform: translateX(-50%);
  bottom: -50%;
  padding: 5px;
  backdrop-filter: blur(10px);
  background: rgba(42, 43, 37, 0.6);
  border-radius: 7px;
  color: #fff;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.15s ease-out, bottom 0.15s ease-out;
}

.social-link:hover {
  transform: scale(1.1);
}

.category-link {
  transition: background-color 0.15s ease;
}

.category-link:hover {
  background-color: #d9d9d9;
}

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

.subcategory-list {
  margin: 0 !important;
  padding: 0 !important;
}

.category-link.active,
.subcategory-link.active {
  background-color: #f14634 !important;
  color: #fff;
  border: 0 !important;
}

/* Основные стили для выпадающих фильтров */
.dropdown-filter {
  position: relative;
  margin-bottom: 15px;
}

/* Кнопка для открытия фильтра */
.dropdown-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 50px;
  background-color: white !important;
  color: var(--black) !important;
  border: 0px !important;
  padding: 10px 20px !important;
  width: 100%;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1) !important;
  transition: background-color .15s ease, color .15s ease;
}

.product-settings {
  border-bottom: 1px solid #eeeeee;
}

.dropdown-button:hover {
  background-color: #f14634 !important;
  color: white !important;
}

.dropdown-button .arrow {
  font-size: 12px;
}

/* Скрытое по умолчанию выпадающее меню */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 10px;
  z-index: 1;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ddd;
  width: 100%;
}

/* При наведении на dropdown-filter отображаем содержимое */
.dropdown-filter:hover .dropdown-content {
  display: block;
}

/* Стили для элементов внутри выпадающего меню */
.dropdown-content label {
  display: block;
  margin-bottom: 5px;
}

/* Стили для выпадающего списка сортировки */
.sort-dropdown {
  position: relative;
}

.sort-dropdown .sub-menu {
  right: 0 !important;
  top: 33px !important;
  min-width: 300px !important;
  text-align: left !important;
}

/* При наведении на sort-dropdown показываем содержимое */
.sort-dropdown:hover .sub-menu {
  visibility: visible;
  opacity: 1;
}

/* Стили для представления карточками */
.card-view .product-item {
  display: block;
  /* Обычные карточки */
}

/* Стили для представления списком */
.list-view .product-item {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.list-view .product-item img {
  max-width: 100px;
  margin-right: 15px;
}


.subcategory-link {
  background-color: #eeeeee;
}

.social-link:hover img {
  box-shadow: 0 0 13px 0 rgba(0, 0, 0, 0.25);
}

.social-link p::after {
  content: "";
  width: 0;
  height: 0;
  display: block;
  position: absolute;
  border: 0;
  z-index: 1;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  margin-left: -5px;
  left: 50%;
  border-bottom: 5px solid rgba(42, 43, 37, 0.6);
  top: -5px;
  backdrop-filter: blur(10px);
  transform: scale(1.07);
}

.alignleft {
  float: left;
  margin: 15px;
}

#category-description ul li {
  list-style: auto;
}

.phone a span{
  color: var(--text-black);
  font-weight: 600;
  font-size: 18px;
  text-align: right;
}

.phone span {
  font-weight: 500;
  font-size: 10px;
  text-align: right;
  color: var(--text-gray);
}

.navbar-nav {
  display: flex;
  align-items: center;
}

.navbar-bottom {
  display: flex;
  align-items: center;
  padding: 10px 0px 20px;
  border-bottom: 1px solid var(--gray);
}

.menu-item {
  position: relative;
}

.sub-menu {
  position: absolute;
  z-index: 100;
  left: 0;
  top: 25px;
  padding: 0px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.15);
  min-width: 400px;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  transition: opacity .25s ease;
}

.menu-item:hover .sub-menu {
  visibility: visible;
  opacity: 1;
}

.menu-item .sub-menu li {
  transition: background-color .15s ease;
}

.menu-item .sub-menu li a {
  padding: .75rem 1rem;
  font-size: .875rem;
  font-weight: 500;
  transition: background-color .15s ease;
  display: block;
}

.menu-item .sub-menu li:first-child {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.menu-item .sub-menu li:last-child {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.menu-item .sub-menu li:hover {
  background-color: #eee;
}

.menu-item .sub-menu li:hover a {
  color: #f14634 !important;
}

.menu-item a {
  text-transform: uppercase;
  font-size: 14px;
  color: var(--text-black);
  font-weight: 600;
}

.nav-link:hover {
  color: var(--blue);
}

.current_page_item a {
  color: var(--blue) !important;
  font-weight: 600;
}

.breadcrumbs,
.breadcrumbs a {
  font-weight: 500;
  font-size: 16px;
  line-height: 160%;
  color: #a19d9d;
}

.advantages__image {
  width: 100%;
  height: 450px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.advantages__content {
  font-weight: 500;
  font-size: 16px;
  line-height: 170%;
  color: #2a2b25;
}

#advantages {
  margin-bottom: 100px;
}

.advantages__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.btn.btn-primary {
  font-weight: 600 !important;
  font-size: 16px;
  text-align: center !important;
  color: #fff;
  border-radius: 8px !important;
  background: linear-gradient(90deg, #f14634 0%, #8b281e 100%);
  border: 0 !important;
  text-transform: uppercase !important;
  padding: 12px 24px;
  border-radius: 50px !important;
  display: flex !important;
  align-items: center !important;
  -webkit-animation: gradient_move 2s ease infinite;
  animation: gradient_move 2s ease infinite;
  animation-play-state: paused;
  transition: box-shadow 0.15s ease-out, transform 0.2s ease;
}

.btn.btn-primary.white {
  background: white !important;
  color: var(--text-black) !important;
}

.catalog-btn {
  font-size: 14px !important;
  padding: 12px 25px 12px 21px !important;
}

.btn.btn-primary img {
  margin-right: 10px !important;
}

.btn.btn-primary:hover {
  animation-play-state: running;
  box-shadow: 0 0 13px 0 rgba(0, 0, 0, 0.25);
  transform: scale(1.1);
}

.search {
  width: 100%;
  max-width: 204px;
}

.search .form-control {
  background: #f5f5f5;
  border: 0 !important;
  border-right: 0;
  border-radius: 8px;
  padding: 10px 15px;
  font-weight: 500;
  font-size: 14px;
  color: var(--black);
}

.search .form-control::placeholder {
  font-weight: 500;
  font-size: 14px;
  font-weight: 500;
  font-size: 14px;
  color: #a19d9d;
}

.btn.btn-search {
  background: #f5f5f5;
  border: 0;
  border-left: 0;
  border-radius: 8px;
  padding: 10px 15px;
  font-weight: 500;
  font-size: 16px;
  color: var(--black);
}

.btn.btn-search img {
  width: 20px;
  height: 20px;
}

.category-column li {
  margin-bottom: 5px;
}

.category-column li:last-child {
  margin-bottom: 0;
}

.category-column li a {
  color: var(--black);
  font-size: 14px;
  transition: color 0.15s ease-out;
}

.category-column li a:hover {
  color: #f14634;
}

@-webkit-keyframes gradient_move {
  0% {
    background-size: 100%;
  }

  50% {
    background-size: 200%;
  }

  100% {
    background-size: 100%;
  }
}

@keyframes gradient_move {
  0% {
    background-size: 100%;
  }

  50% {
    background-size: 200%;
  }

  100% {
    background-size: 100%;
  }
}

.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider {
  width: 100%;
  position: relative;
  height: 71vh;
  max-height: 830px;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
  margin: 0px -15px;
}

.slide {
  overflow: hidden;
  height: 70vh;
  min-width: 100%;
  transition: transform 0.5s ease;
  box-sizing: border-box;
  padding: 20px;
  max-height: 830px;
}

.prev-btn,
.next-btn {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 20px;
  transition: opacity 0.25s ease-out;
}

.slider-container:hover .prev-btn,
.slider-container:hover .next-btn {
  opacity: 1;
  visibility: visible;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

.pagination {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.pagination div {
  width: 13px;
  height: 13px;
  margin: 0 5px;
  background-color: transparent;
  border: 1px solid var(--red);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s ease-out;
}

.pagination .active {
  background-color: var(--red);
}

.add-slide-btn {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

.slide-background {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--gray);
  border-radius: 20px;
  box-shadow: 0 0 13px 0 rgba(0, 0, 0, 0.25);
  background-repeat: no-repeat !important;
  background-size: cover !important;
  max-height: 90%;
  margin-top: 45px;
}

.slide-background img {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 115%;
}

.slide-info {
  margin-left: 5%;
  max-width: 47%;
}

.slide-info p {
  font-weight: 500;
  font-size: 20px;
  color: var(--text-black);
}

.slide_image_animation {
  -webkit-animation: slide_showup 0.8s ease;
  animation: slide_showup 0.8s ease;
}

.slide_text_animation {
  -webkit-animation: slide_showright 0.8s ease;
  animation: slide_showright 0.8s ease;
}

@keyframes slide_showup {
  0% {
    right: -5%;
    bottom: -60px;
    opacity: 0.3;
  }

  100% {
    right: 0%;
    bottom: 0px;
    opacity: 1;
  }
}

@keyframes slide_showright {
  0% {
    transform: translateX(-100px) translateY(15px);
    opacity: 0.3;
  }

  100% {
    transform: translateX(0px) translateY(0px);
    opacity: 1;
  }
}

#collapseExample {
  position: absolute;
  z-index: 1;
  top: 70px;
  left: 0;
}

.container {
  max-width: 1408px !important;
  min-width: 360px !important;
  padding: 0px 16px !important;
  width: 100% !important;
}

#about-us {
  padding: 60px 0px 20px;
  background: #F5F5F5;
  margin: 80px 0px 30px;
}

#about-us p {
  max-width: 100%;
  font-weight: 500;
  font-size: 16px;
  line-height: 160%;
  color: #2a2b25;
}

.slider-news {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  height: 515px;
  /* Установи нужную высоту */
  overflow: hidden;
}

.slide-news {
  position: absolute;
  width: 415px;
  height: 88%;
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s;
  border-radius: 8px !important;
  box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.15);
}

.slide-news img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px !important;
}

.slider-news .pagination {
  bottom: 0px;
}

.slide-news.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
  /* Центральный слайд поверх всех */
}

.slide-news.prev {
  opacity: 0.5;
  transform: translateX(-80%) scale(0.8);
  /* Сдвиг влево и уменьшение */
  z-index: 1;
  border-radius: 8px !important;
}

.slide-news.next {
  opacity: 0.5;
  transform: translateX(80%) scale(0.8);
  /* Сдвиг вправо и уменьшение */
  z-index: 1;
  border-radius: 8px !important;
}

.slide-news.prev img {
  border-radius: 8px !important;
}

.prev-button,
.next-button {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.prev-button {
  left: 0px;
}

.next-button {
  right: 0px;
}

#news {
  padding: 40px 0px;
}

.arrow-right,
.arrow-left {
  border: 0 !important;
  background-color: white !important;
}

.arrow-left img,
.arrow-right img {
  transition: transform 0.15s ease;
}

.arrow-left:hover img {
  transform: scale(1.1);
}

.arrow-right:hover img {
  transform: scale(1.1) rotateZ(180deg);
}

.news-item-link {
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  display: block;
}

.arrow-right img {
  transform: rotateZ(180deg);
}

.news-item {
  height: 100%;
  min-width: calc(25% - 20px);
  border-radius: 8px;
}

.news-item p {
  font-size: 14px;
}

.news-item-image {
  position: relative;
  width: 100%;
  height: 200px;
}

.news-item-image img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
}

.news-item-image span {
  position: absolute;
  z-index: 1;
  right: 10px;
  bottom: 10px;
}

.product-name {
  font-size: 16px !important;
}

.product-art {
  font-size: 14px !important;
}

.product-art span {
  color: #9b9b9b !important;
}

.news-item-date {
  padding: 4px 11px;
  background-color: white;
  color: #f14634;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.25);
}

.news-item-date.big {
  font-weight: 500 !important;
  font-size: 16px !important;
  line-height: 160% !important;
}

.card {
  border-radius: 8px;
  border: 1px solid #d9d9d9;
}

.news-item-info {
  padding: 20px;
}

.news-container {
  display: flex;
  align-items: stretch;
  transition: transform 0.5s ease;
  margin-right: -20px;
}

.news-item {
  cursor: pointer;
  box-sizing: border-box;
  margin-right: 20px;
  /* Отступ справа */
  transition: background 0.15s ease;
}

.news-item:hover {
  background-color: #e3ecfb;
}

.news-item:last-child {
  margin-right: 0;
  /* Чтобы у последней карточки не было лишнего отступа */
}

.slider-the-news {
  overflow: hidden;
}

footer {
  padding: 40px 0px;
  background-color: #f5f5f5;
}

footer a {
  cursor: pointer;
  color: #2a2b25;
}

footer h5 {
  padding-bottom: 7.5px;
}

footer .nav-link{
  padding: 7.5px 0px;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  color: #2a2b25;
}

.footer-copyright {
  font-weight: 500;
  font-size: 14px;
  color: #9b9b9b;
  display: block;
  margin: 30px auto 0px auto;
}

.footer-copyright a {
  color: #9b9b9b;
  text-decoration: underline;
}

@media screen and (max-width: 992px) {
  .slide {
    max-height: 550px;
  }
}

.product-attributes-cards {
  display: none;
}

/* Стиль для основного экрана */
@media screen and (max-width: 768px) {

  .product-attributes {
    display: none;
  }

  .product-attributes-cards {
    display: block;
  }

  /* Скроем элементы, которые будут переорганизованы */
  .navbar-top,
  .navbar-bottom {
    display: none;
  }

  /* Боковое меню для социальных ссылок и номера телефона */
  .side-menu {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100%;
    background-color: #fff;
    transition: left 0.3s ease-in-out;
    z-index: 9999;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
  }

  .container {
    padding: 0px 30px !important;
  }

  .side-menu.active {
    left: 0;
  }

  /* Социальные ссылки и телефонные данные внутри бокового меню */
  .side-menu .social {
    display: flex;
    justify-content: start;
  }

  .side-menu .social-link {
    margin-bottom: 1rem;
  }

  .side-menu .phone {
    border-top: 1px solid #ddd;
    padding-top: 1rem;
  }

  /* Кнопка для открытия бокового меню */
  .menu-toggle {
    display: block;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 10000;
  }

  .menu-toggle img {
    width: 30px;
    height: 30px;
  }

  /* Поисковая строка и каталог справа */
  .search {
    width: 100%;
    margin: 1rem 0;
    justify-content: space-between;
  }

  .catalog-btn {
    margin-left: 1rem;
  }

  .catalog-btn img {
    width: 20px;
    height: 20px;
  }

  /* Контейнер для поиска и каталога */
  .top-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
  }

  .search input {
    width: 75%;
  }

  /* Основные стили */
  .logo {
    max-width: 150px;
    height: auto;
  }

  .menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
  }

  .menu-icon {
    width: 30px;
    height: 3px;
    background-color: #333;
    position: relative;
  }

  .menu-icon::before,
  .menu-icon::after {
    content: "";
    width: 30px;
    height: 3px;
    background-color: #333;
    position: absolute;
    left: 0;
    transition: 0.3s;
  }

  .menu-icon::before {
    top: -10px;
  }

  .menu-icon::after {
    top: 10px;
  }

  /* Анимация гамбургер-меню */
  .side-menu.active .menu-icon {
    background-color: transparent;
  }

  .side-menu.active .menu-icon::before {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .side-menu.active .menu-icon::after {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Боковое меню */
  .side-menu {
    position: fixed;
    left: -100%;
    top: 0;
    width: 75%;
    height: 100%;
    background-color: white;
    transition: 0.3s;
    z-index: 1000;
  }

  .side-menu.active {
    left: 0;
  }

  /* Социальные сети вертикально */
  .social {
    display: flex;
  }

  .social-link {
    margin-bottom: 15px;
  }

  /* Поиск и Каталог */
  .top-menu {
    display: flex;
    justify-content: space-between;
    padding: 10px 30px;
  }

  .menu-toggle {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 2px;
    background-color: #2a2b25;
  }

  .menu-toggle::after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    left: 0;
    top: 6px;
    background-color: #2a2b25;
  }

  .menu-toggle::before {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    left: 0;
    bottom: 6px;
    background-color: #2a2b25;
  }

  .slider-news {
    width: 50%;
  }

  .close-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 30px;
    height: 30px;
    padding: 10px;
    border: 0 !important;
    background-color: transparent !important;
  }

  .close-btn::after {
    position: absolute;
    content: "";
    left: 0;
    top: 11px;
    transform: rotate(45deg);
    width: 100%;
    height: 2px;
    background-color: #2a2b25;
  }

  .close-btn::before {
    position: absolute;
    content: "";
    left: 0;
    top: 11px;
    transform: rotate(-45deg);
    width: 100%;
    height: 2px;
    background-color: #2a2b25;
  }

  .side-menu .phone span {
    margin-left: 35px;
  }

  .slide-info {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
  }

  .slide-background img {
    opacity: 0.5;
  }

  .slide_image_animation {
    animation: none !important;
  }

  .news-item {
    min-width: calc(50% - 20px);
  }

  .search {
    display: none;
  }

  .btn.btn-search {
    background: #fff;
    border: 1px solid rgb(222, 226, 230);
    border-left: 0;
    border-radius: 8px;
    padding: 10px 15px;
    font-weight: 500;
    font-size: 16px;
    color: var(--black);
  }

  /* Начальное состояние для скрытого поиска */
  .mobile-search {
    position: absolute;
    transform: translateY(-100%);
    /* Прячем его за пределами экрана сверху */
    left: 0;
    right: 0;
    transition: top 0.5s ease-in-out;
    background-color: white;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s ease;
    z-index: 5;
  }

  /* Когда поиск активен, перемещаем его вниз */
  .mobile-search.active {
    transform: translateY(0);
  }

  /* Стили для крестика (кнопка закрытия) */
  .mobile-search .close-search {
    background: rgb(255, 198, 198);
    border: none !important;
    border-radius: 8px;
    padding: 0px 15px;
    font-size: 20px;
    cursor: pointer;
  }

  .search .form-control {
    background: #f5f5f5;
    border: 0 !important;
    border-right: 0;
    border-radius: 8px;
    padding: 10px 15px;
    font-weight: 500;
    font-size: 14px;
    color: var(--black);
  }

  .search .form-control::placeholder {
    font-weight: 500;
    font-size: 14px;
    font-weight: 500;
    font-size: 14px;
    color: #a19d9d;
  }

  #telegram-post-technologyRVD-10 {
    min-width: auto !important;
  }
}

@media screen and (max-width: 576px) {

  .attribute-card ul {
    font-size: 14px;
  }

  .slider-news {
    width: 100%;
  }

  .slide-background {
    margin-top: 0;
  }

  .slide-background img {
    opacity: 0.2;
  }

  #about-us p {
    max-width: 100%;
  }

  .slider {
    height: 100%;
    max-height: 530px;
  }

  .news-item {
    min-width: 100%;
  }

  .news-container {
    margin-right: 0px;
  }

  .news-item {
    margin-right: 0px;
  }

  .prev-button,
  .next-button {
    z-index: 3;
  }

  .slide-background img {
    height: 85%;
    right: 0%;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 24px;
  }

  #about-us p {
    font-size: 14px;
  }

  .slide-info p {
    font-size: 16px;
  }
}

#scrollToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: none;
  width: 50px;
  height: 50px;
  background-color: #f14634;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 1000;
  transition: opacity 0.4s;
}

#scrollToTopBtn:hover {
  background-color: #bb3829;
}

#banner-full-size {
  margin: 50px 0px 80px;
}

#banner-full-size div {
  width: 100%;
  height: 100px;
  background-color: #bb3829;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
}

h5.red {
  color: #f14634 !important;
}

video {
  width: 100%;
  border-radius: 20px;
}

.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 5px;
  background-color: #eeeeee;
  color: #2a2b25;
  transition: background-color .15s ease;
  min-width: 30px;
}

.page-numbers:hover {
  background-color: #ffbeb7;
}

.page-numbers.current {
  color: white !important;
  background-color: #f14634 !important;
}

.btn.btn-secondary {
  border-radius: 50px !important;
  background-color: #eee !important;
  text-transform: uppercase !important;
  color: #f14634 !important;
  border: 0px !important;
  padding: 10px 20px;
  transition: background-color .15s ease, color .15s ease;
}

.btn.btn-secondary img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.btn.btn-secondary img:last-child {
  margin-right: 0;
}

.btn.btn-secondary:hover {
  background-color: #f14634 !important;
  color: white !important;
}

.map-point {
  position: relative;
  cursor: pointer;
  transition: background-color .15s ease;
}

.map-point:hover {
  background-color: #eee !important;
}

.map-point {
  cursor: pointer;
  transition: all 0.3s ease;
}

.map-point.active {
  border-color: #f14634;
}

.map-point .telephono {
  transition: color .15s ease;
}

.map-point .telephono:hover {
  color: #f14634 !important;
}

.map-point > div:first-child > img{
  width: 24px;
  height: 24px;
  margin-left: -5px;
}

.map-point > div:last-child > img {
  width: 18px;
  height: 18px;
}

.map-point a {
  color: var(--black) !important;
}

#contacts-page {
  padding: 60px 0px 100px;
}

.ya-map {
  overflow: hidden;
  border-radius: 10px;
  height: 347px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
}

.ya-map iframe {
  height: 100%;
}

.map-point-number {
  position: absolute;
  right: 0;
  top: 0;
  writing-mode: vertical-rl;
  height: 100%;
  background-color: #f14634;
  padding: 7px;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border: 1px solid #f14634;
  font-size: 10px;
}

.btn.btn-secondary:hover img {
  filter: invert(1) grayscale(100%) contrast(500%);
}

.btn.btn-secondary svg path {
  transition: stroke .15s ease;
}

.btn.btn-secondary:hover svg path {
  stroke: white;
}

.box-shadow {
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1) !important;
}

.border-radius {
  border-radius: 50px !important;
}

.btn.btn-thirdly {
  display: flex;
  align-items: center;
  border-radius: 50px;
  background-color: white !important;
  color: #f14634 !important;
  border: 0px !important;
  padding: 5px 10px !important;
  transition: background-color .15s ease, color .15s ease;
}

.btn.btn-thirdly svg {
  margin-right: 8px;
}

.btn.btn-thirdly svg path {
  transition: fill .15s ease;
}

.btn.btn-thirdly:hover,
.btn.btn-thirdly.active {
  background-color: #f14634 !important;
  color: white !important;
}

.btn.btn-thirdly:hover svg path,
.btn.btn-thirdly.active svg path {
  fill: white;
}

.product-attributes {
  overflow: auto;
}

.product-attributes table {
  min-width: 950px;
}

table th, table ul, table .btn.btn-thirdly {
  font-size: 14px !important;
}

table ul {
  padding: 0 !important;
}

.advantages__content table .btn.btn-thirdly{
  margin-bottom: 11px !important;
}

/* Изначально скрываем подкатегории */
.subcategory-list {
  height: 0;
  overflow: hidden;
  transform: scaleY(0);
  transform-origin: top;
  transition: height 0.3s ease, transform 0.3s ease;
}

/* Класс для раскрытия подкатегорий */
.subcategory-list.open {
  height: auto;
  /* Устанавливаем авторазмер */
  transform: scaleY(1);
}

@media only screen and (max-width: 992px) and (orientation: landscape) {
  .slider {
    width: 100% !important;
    position: relative !important;
    height: 77vh !important;
    max-height: 830px !important;
  }

  #main {
    margin-top: 0%;
  }

  .slide {
    overflow: hidden !important;
    height: 83vh !important;
    min-width: 100% !important;
    transition: transform 0.5s ease !important;
    box-sizing: border-box !important;
    padding: 20px !important;
  }

  .slide-info h1 {
    font-size: 24px !important;
  }

  .slide-info p {
    font-size: 16px !important;
  }

  .slide-background {
    margin-top: 0px !important;
    box-shadow: none !important;
  }

  .slide-background img {
    height: 100% !important;
  }

}

@media only screen and (max-width: 768px) and (orientation: landscape) {
  #main {
    margin-top: -7% !important;
  }
}

@media screen and (max-width: 460px) {
  .top-menu .catalog-btn {
    display: none !important;
  }
}
/* === FIX header phone block: text wrapping === */
.navbar-top .phone,
.navbar-top .phone span,
.navbar-top .phone a {
  white-space: nowrap;
}
.navbar-top .phone {
  flex-shrink: 0;
}
.navbar-top .phone > span:last-child {
  font-size: 0.85rem;
  margin-top: 4px;
}
