.wrapper {
  min-height: 94vh !important;
  position: relative;
  height: 100% !important;
}

#footer {
  background: #fff;
  box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  color: #222222;
  font-size: 14px;
  /* right: 0;
    bottom: 0; */
  /* width: 99%;   */

}

#navbar {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#navbar .navbar-brand {
  font-weight: 700;
  letter-spacing: -0.5px;
  transition: transform 0.3s ease;
}

#navbar .navbar-brand:hover {
  transform: scale(1.05);
}

#navbar .nav-link {
  position: relative;
  font-weight: 500;
  color: #333 !important;
  transition: color 0.3s ease;
  padding: 0.7rem 1rem !important;
  border-radius: 6px;
  margin: 0 4px;
}

#navbar .nav-link:hover {
  color: #cc9d04 !important;
  background-color: rgba(204, 157, 4, 0.08);
}

#navbar .nav-link::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 2px;
  bottom: 0;
  left: 25%;
  background-color: #cc9d04;
  transition: all 0.3s ease;
  transform: scaleX(0);
  transform-origin: center;
}

#navbar .nav-link:hover::after {
  transform: scaleX(1);
}

@media (max-width: 991.98px) {
  #navbar .navbar-collapse {
    flex-direction: row !important;
    padding: 0 !important;
  }

  #navbar .navbar-nav {
    flex-direction: row !important;
    gap: 0.5rem;
  }

  #navbar .nav-link {
    padding: 0.4rem 0.5rem !important;
    font-size: 0.9rem;
  }

  #navbar .nav-item {
    padding: 0 !important;
  }

  #navbar .dropdown-menu {
    position: absolute;
    top: 100%;
  }
}

.carousel-indicators [data-bs-target] {
  /* opacity: 1!important; */
  background-color: #060606 !important;
}

.dropdown-menu {
  max-width: 100% !important;
  width: auto !important;
  min-width: 470px !important;
  overflow-y: auto !important;
  border: none;
  border-radius: 12px;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12);
  background: #ffffff;
  animation: slideDown 0.3s ease;
  margin-top: 8px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-menu .dropdown-item {
  word-wrap: break-word !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  padding: 0.75rem 0.25rem !important;
  color: #333 !important;
  transition: all 0.2s ease;
  border-radius: 6px;
  margin: 4px 8px;
  font-weight: 500;
  width: 96% !important;
}

.dropdown-menu .dropdown-item:hover {
  background-color: rgba(204, 157, 4, 0.1) !important;
  color: #cc9d04 !important;
  padding-left: 1.5rem !important;
}

.dropdown-menu .dropdown-item.active {
  background-color: rgba(204, 157, 4, 0.2) !important;
  color: #cc9d04 !important;
}

@media (max-width: 768px) {
  .dropdown-menu {
    min-width: auto !important;
    max-width: calc(80vw - 30px) !important;
    width: calc(80vw - 30px) !important;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .dropdown-menu {
    min-width: auto !important;
    max-width: calc(75vw - 55px) !important;
    width: calc(75vw - 55px) !important;
  }
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;

}

.fixed_button {
  position: fixed;
  /*задаём тип позиции, в нашем случае - фиксированная*/
  bottom: 6rem;
  /* отступ сверху*/
  right: 1rem;
  /* отступ слева*/

  z-index: 999;
  /*позиция относительно дальности*/
}

@media (max-width: 700px) {
  .fixed_button {
    bottom: 3rem;
    /* отступ сверху*/
  }
}

.bg-light {
  background-color: #f892f3 !important;
}

#typed>.bi {
  font-size: 2.5rem !important;
}

.timeline {
  position: relative;
  padding: 0;
  list-style: none;
}

.timeline:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  margin-left: -1.5px;
  content: "";
  background-color: #e9ecef;
}

.timeline>li {
  position: relative;
  min-height: 50px;
  margin-bottom: 50px;
}

.timeline>li:after,
.timeline>li:before {
  display: table;
  content: " ";
}

.timeline>li:after {
  clear: both;
}

.timeline>li .timeline-panel {
  position: relative;
  float: right;
  width: 100%;
  padding: 0 20px 0 100px;
  text-align: left;
}

.timeline>li .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}

.timeline>li .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.timeline>li .timeline-image {
  position: absolute;
  z-index: 100;
  left: 0;
  width: 80px;
  height: 80px;
  margin-left: 0;
  text-align: center;
  color: white;
  border: 7px solid #e9ecef;
  border-radius: 100%;
  background-color: #cc9d04;
}

.timeline>li .timeline-image h4,
.timeline>li .timeline-image .h4 {
  font-size: 10px;
  line-height: 14px;
  margin-top: 12px;
}

.timeline>li.timeline-inverted>.timeline-panel {
  float: right;
  padding: 0 20px 0 100px;
  text-align: left;
}

.timeline>li.timeline-inverted>.timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}

.timeline>li.timeline-inverted>.timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.timeline>li:last-child {
  margin-bottom: 0;
}

.timeline .timeline-heading h4,
.timeline .timeline-heading .h4 {
  margin-top: 0;
  color: inherit;
}

.timeline .timeline-heading h4.subheading,
.timeline .timeline-heading .subheading.h4 {
  text-transform: none;
}

.timeline .timeline-body>ul,
.timeline .timeline-body>p {
  margin-bottom: 0;
}

.vendor-code-text {
  /* font-size: clamp(0.8rem, 1.0597rem + -0.831vw, 0.0625rem); */
  /* font-size: calc(1rem + 1vw); */
  font-size: 0.95vw;
  letter-spacing: -0.05em;
}

img.card-img-ph {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  /* Плейсхолдер */
  object-fit: contain;
}


@media (min-width: 768px) {
  .timeline:before {
    left: 50%;
  }

  .timeline>li {
    min-height: 100px;
    margin-bottom: 50px;
  }

  .timeline>li .timeline-panel {
    float: left;
    width: 41%;
    padding: 0 20px 20px 30px;
    text-align: right;
  }

  .timeline>li .timeline-image {
    left: 50%;
    width: 130px;
    height: 130px;
    margin-left: -65px;
  }

  .timeline>li .timeline-image h4,
  .timeline>li .timeline-image .h4 {
    font-size: 13px;
    line-height: 18px;
    margin-top: 16px;
  }

  .timeline>li.timeline-inverted>.timeline-panel {
    float: right;
    padding: 0 30px 20px 20px;
    text-align: left;
  }
}

@media (min-width: 992px) {
  .timeline>li {
    min-height: 150px;
  }

  .timeline>li .timeline-panel {
    padding: 0 20px 20px;
  }

  .timeline>li .timeline-image {
    width: 150px;
    height: 150px;
    margin-left: -75px;
  }

  .timeline>li .timeline-image h4,
  .timeline>li .timeline-image .h4 {
    font-size: 18px;
    line-height: 26px;
    margin-top: 30px;
  }

  .timeline>li.timeline-inverted>.timeline-panel {
    padding: 0 20px 20px;
  }
}

@media (min-width: 1200px) {
  .timeline>li {
    min-height: 170px;
  }

  .timeline>li .timeline-panel {
    padding: 0 20px 20px 100px;
  }

  .timeline>li .timeline-image {
    width: 170px;
    height: 170px;
    margin-left: -85px;
  }

  .timeline>li .timeline-image h4,
  .timeline>li .timeline-image .h4 {
    margin-top: 40px;
  }

  .timeline>li.timeline-inverted>.timeline-panel {
    padding: 0 100px 20px 20px;
  }

  #about-text {
    padding-right: 100px !important;
    padding-left: 100px !important;
  }

  .narrow-container {
    max-width: 80vw !important;
  }
}


.page-section {
  padding-top: 5rem;
  padding-bottom: 1rem;
}

.page-section h2.section-heading,
.page-section .section-heading.h2 {
  font-size: 2.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-section h3.section-subheading,
.page-section .section-subheading.h3 {
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  margin-bottom: 4rem;
}

.start-90 {
  left: 90% !important;
}

#logo {
  position: relative;
}

#logo::before {
  content: "AQUA";
  color: gray;
  position: absolute;
}

.zoom-container {
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#fullImage {
  transition: transform 0.3s ease;
  /* Плавный переход для зума */
  max-height: 90vh;
  width: auto;
}

#fullImage.zoomed {
  transform: scale(3);
  /* Увеличение изображения до 3x при наведении */
  cursor: zoom-in;
}


.bath {
  font-family: Arial, sans-serif;
  color: black;
  font-weight: lighter;
}

.aqua {
  font-family: Arial, sans-serif;
  color: grey;
}

.arial-font {
  font-family: Arial, sans-serif;
  font-weight: lighter;
}

.card {
  transition: transform 0.3s ease;
  /* Плавный переход */
}

.card:hover {
  transform: scale(1.05);
  /* Увеличение на 5% при наведении */
}

/* Базовые стили для меню */
/* 
.menu {
  font-size:calc(8px + 8 * (100vw / 1920));
  position: fixed;
  width: 8vw;
  top: 50%;
  left: 6px;
  transform: translateY(-50%);
  background: rgba(51, 51, 51, 0.7);
  padding: 6px;
  border-radius: 5px;
  z-index: 1000;
  transition: background 0.3s;
}

.menu:hover {
  background: rgba(51, 51, 51, 1);
}

.menu a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 8px;
  margin: 5px 0;
  background: #444;
  border-radius: 3px;
}

.menu a:hover {
  background: #555;
}


@media (max-width: 1000px) {
  .menu {
    width: 100%; 
    top: auto; 
    bottom: 0; 
    left: 0; 
    transform: none;
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    padding: 10px 5px;
    background: rgba(51, 51, 51, 0.9);
  }

  .menu a {
    flex: 1 1 auto; 
    margin: 3px; 
    padding: 5px;
    text-align: center;
    font-size: 14px; 
    min-width: 120px;
  }
} */

.menu {
  font-size: calc(7px + 6 * (100vw / 1920));
  position: fixed;
  width: 8.5vw;
  top: 53%;
  left: 8px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  padding: 6px;
  border-radius: 8px;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.menu:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #2c3e50;
  text-decoration: none;
  padding: 8px 10px;
  margin: 4px 0;
  border-radius: 6px;
  transition: all 0.2s ease;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  font-weight: 500;
  text-align: left;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.menu a:hover {
  background: #fff;
  border-color: #3498db;
  color: #3498db;
  transform: translateX(2px);
  box-shadow: 0 2px 4px rgba(52, 152, 219, 0.12);
}

.text-outline {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  /* Чёрная тень с размытием */
}

@media (max-width: 1000px) {
  .menu {
    width: 100%;
    top: auto;
    bottom: 0;
    left: 0;
    transform: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 6px 4px;
    border-radius: 8px 8px 0 0;
    background: rgba(255, 255, 255, 0.98);
  }

  .menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 35px;
    flex: 1 1 auto;
    margin: 3px;
    padding: 6px 8px;
    text-align: center;
    font-size: 12px;
    min-width: 100px;
    transform: none;
  }

  .menu a:hover {
    transform: translateY(-1px);
  }
}

.category-name {
  margin-top: -70px !important;
  padding-top: 70px;
}


.floating-button {
  position: fixed !important;
  bottom: 20px !important;
  right: 15px !important;
  z-index: 1050;
  background: linear-gradient(135deg, #6a11cb, #2575fc) !important;
  color: white !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 15px 15px !important;
  font-size: 16px !important;
  font-weight: bold !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
  transition: transform 0.2s ease-in-out !important;
}

.floating-button:hover {
  transform: scale(1.1) !important;
  background: linear-gradient(135deg, #2575fc, #6a11cb) !important;
}

.floating-button-filter {
  bottom: 80px !important;

}

@media (max-width: 1000px) {
  .floating-button {
    width: 50px !important;
    height: 50px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    bottom: 10px !important;
  }

  .floating-button-filter {
    bottom: 70px !important;
  }

  .floating-button::before {
    font-size: 20px !important;
  }

  .narrow-container {
    max-width: 80vw !important;
  }
}

@media (max-width: 700px) {
  .floating-button {
    bottom: 10px !important;
  }

  .floating-button-filter {
    bottom: 70px !important;
  }

  .narrow-container {
    max-width: 90vw !important;
  }
}