@font-face {
  font-family: MB;
    src: url(/font/Manrope-Bold.woff) format('woff');
    font-display: swap;
}
@font-face {
  font-family: MR;
    src: url(/font/Manrope-Regular.woff) format('woff');
    font-display: swap;
}
@font-face {
  font-family: ML;
    src: url(/font/Manrope-Light.woff) format('woff');
    font-display: swap;
}

body {
  font-family: 'ML', Arial, sans-serif;
  font-size: clamp(14px, 1.1vw, 14px);
    line-height: clamp(18px, 1.53vw, 18px);
    color: #333;
}

h1,h2,h3,h4 {
  margin: 0;
}

h1  {
  font-family: 'MB';
  letter-spacing: 0.02em;
  font-size: clamp(28px, 5.96vw, 38px);
  line-height: clamp(28px, 5.96vw, 38px);
  text-transform: uppercase;
}

h2  {
  font-family: 'MR';
  font-size: clamp(20px, 3.333vw, 28px);
    line-height: clamp(20px, 3.333vw, 28px);
  text-transform: uppercase;
}

h3  {
  font-family: 'MR';
  font-size: clamp(14px, 3.333vw, 16px);
    line-height: clamp(16px, 3.333vw, 20px);
  text-transform: uppercase;
}

.fs-28 {
  font-size: clamp(20px, 8.52vw, 28px);
    line-height: clamp(20px, 8.52vw, 28px);
    text-transform: uppercase;
    text-align: center;
}
body {
  margin: 0;
}

header {
  display: flex;
  padding: 8px 0px;
  background-color: #ffffff;
  width: 100%;
  height: 62px;
  position: sticky;
  top: 0;
  z-index: 11;
}

header img {
  max-width: 128px;
}

main {

}

footer {
  color: #333;
  padding: 10px;
  text-align: center;
  font-size: 18px;
  width: 100%;
}

header a {
  font-family: 'MB';
  font-size: clamp(14px, 3.333vw, 16px);
  line-height: clamp(14px, 3.333vw, 16px);
  color: #252525;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  padding: 20px 0;
  transition: all 0.2s;
}

* {
    padding: 0;
    border: 0;
    margin: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    text-size-adjust: none;
}

html {
    --scroll-behavior: smooth;
    scroll-behavior: var(--scroll-behavior);
}

nav a:hover {
  color: #008c8c;
}

/* CSS для WebKit */
::-webkit-scrollbar {
    width: 10px;
    height: 8px;
    background-color: #e6f3f3;
}
::-webkit-scrollbar-thumb {
    background: #008c8c;
    border-radius: 5px;
}
/* CSS для Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #008c8c #e6f3f3;
}
/* Стили для SimpleBar (для всех браузеров) */
[data-simplebar] {
    max-height: 500px;
}
.simplebar-scrollbar::before {
    background: #008c8c;
    border-radius: 5px;
}
.simplebar-track {
    background: #e6f3f3;
}
.simplebar-track .simplebar-scrollbar {
    width: 10px;
}

.header-container {
  display: flex;
  color: #7b7b7b;
  text-align: center;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header-container,
.container {
  max-width: 1342px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  overflow: hidden;
}

.header-container nav{
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.bg-banner {
  background-image: url('/img/LQ.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  background-blend-mode: overlay;
  background-attachment: fixed;
  background-color: rgb(48 48 48 / 10%);
  height: 80vh;
  animation: bgColor 0.8s ease-out forwards;
  animation-delay: 0.3s;
}

/* Применяем fixed, если поддерживается */
@supports (background-attachment: fixed) {
  .bg-banner {
    background-attachment: fixed;
  }
}

/* Запасной вариант для устройств, где fixed не работает */
@supports not (background-attachment: fixed) {
  .bg-banner {
    background-attachment: scroll;
  }
}

@supports (-webkit-touch-callout: none) {
  .bg-banner {
    background-attachment: scroll;
  }
}

.flx-3 {
  display: flex;
  flex-direction: column-reverse;
  gap: 14px;
/*  position: relative;
  mix-blend-mode: difference;*/
  color: white;
  text-shadow: 0px 1px 10px rgb(0 0 0 / 90%);
  align-items: center;
  height: 100%;
  justify-content: center;
  padding-top: 20vh;
  opacity: 0;
  transform: translateY(90px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bgColor {
  to {
    background-color: rgb(48 48 48 / 90%);
  }
}

.flx-5 {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.flx-4 {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  overflow: auto;
  padding-bottom: 10px;
  margin-bottom: 50px;
}

.flx-4 div {
  display: flex;
  background-color: #e6f3f3;
  width: 100%;
  text-align: center;
  align-items: center;
  flex-direction: column;
}

.flx-4 div img {
  max-width: 200px;
  transition: all 0.3s;
}

.flx-5 a {
  width: 175px;
  height: auto;
  transition: all 0.3s;
  border: 1px solid #008c8c40;
}

.flx-5 a img {
  width: 100%;
  transition: all 0.3s;
}

.flx-4 div:hover,
.flx-5 a:hover {
  background-color: #cee7e7;
/*  overflow: hidden;*/
}

.flx-4 div:hover img,
.flx-5 a img:hover {
  transform: scale(1.1);
}

.tab-button.active:hover {
  background: #008C8C;
}

.social-link {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}
.social-link a {
  display: block;
  background-color: #e6f3f3;
  width: 60px;
  height: 60px;
  padding: 14px;
}

.footer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 2px solid #008c8c;
}

.tab-container {
  position: relative;
  overflow: hidden;
}

.tab-button {
  cursor: pointer;
  padding-top: 20px;
  padding-bottom: 20px;
  background: #f0f0f0;
  transition: background 0.3s;
  overflow: hidden;
}

.tab-button.active {
  background: #008C8C;
  color: white;
}

.tab-content-wrapper {
  max-width: 600px;
  margin: 20px auto;
  position: relative;
}

.tab-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(80px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.4s ease;
}

.tab-content.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.stock-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  background-color: #e6f3f3;
  overflow: hidden;
}

.stock-container div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  height: 100%;
  justify-content: center;
  flex-direction: column;
  padding: 48px 5%;
}

.stock-container a {
  background-color: #008C8C;
  padding: 16px 32px 16px 32px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  width: max-content;
  margin-top: 16px;
  transition: all 0.3s;
}

.stock-container a:hover {
  color: #000;
  background-color: #cee7e7;
}

.stock-container img {
  width: 100%;
  max-width: 400px;
}

.stock-bg {
  background-color: #e6f3f3;
}

.fade-in {
  opacity: 0;
  transition: transform 0.7s, opacity 1.4s ease-out;
}

/* Конкретные направления */
.fade-in-left {
  transform: translateX(-140px);
}

.fade-in-right {
  transform: translateX(140px);
}

.fade-in-up {
  transform: translateY(-140px);
}

.fade-in.visible {
  opacity: 1;
  transform: translate(0, 0);
}

.mw-700 {
  margin: 0 auto;
  max-width: 700px;
  padding-bottom: 50px;
}

.mw-600 {
  max-width: 600px;
}

.aligan-c {
  text-align: center;
}

.pt-90px {
  padding-top: 90px;
}

.mt-14px {
  margin-top: 14px;
}

.mb-32px {
  margin-bottom: 32px;
}

@media (max-width: 1200px) {
    * {
        cursor: default !important;
    }
    .stock-banner div {
        align-items: center;
        text-align: center;
    }
    .stock-container {
        flex-direction: column-reverse;
    }
    .footer-info {
        gap: 18px;
        flex-direction: column-reverse;
    }
    .flx-4 {
      overflow-x: scroll;
    }
}
@media (max-width: 900px) {
  .flx-4 div img {
    max-width: 100%;
    height: auto;
  }
  .flx-4 {
      grid-template-columns: repeat(auto-fit, minmax(31%, 1fr));
      margin-bottom: 36px;
  }
  .flx-5 a {
      width: 31%;
  }
  .tab-button h3 {
    font-size: 12px;
    font-weight: 700;
  }
}
@media (max-width: 500px) {
  .bg-banner {
    background-image: url('/img/LQ(mini).webp');
  }
}