* {
  box-sizing: border-box;
}

ul li {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--accent-color);
}

html {
  scroll-behavior: smooth;
}

html.smooth-scroll-disabled {
  scroll-behavior: auto;
}

body {
  margin: 0;
  padding: 0;
  font: normal 14px / 26px var(--font-family-main), Helvetica, Arial, Verdana;
}

h1,
h2,
h3,
h4 {
  font-family: "Raydis", sans-serif;
  color: var(--color-text);
  clear: both;
  line-height: 1.2;
}
h1 {
  font-size: calc(27px + 8 * (100vw - 320px) / 880);
}

h2 {
  font-size: 36px;
  line-height: 1;
}

h3 {
  font-size: 16px;
}

.container {
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  min-width: 1200px;
  width: 1200px;
  position: relative;
  margin: 0 auto;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 1200px;
  min-height: 145px;
  height: 145px;
  padding: 30px 44px;
  position: fixed;
  background: rgba(255, 255, 255, 0,9);
  transition: top 0.3s ease;
  z-index: 1000;
  box-shadow: 0px 4px 8px 0px rgba(34, 60, 80, 0.2);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(10px);
}

.logo img {
  height: auto;
  width: 130px;
}

.top-menu ul {
  display: flex;
  gap: 30px;
}

.top-menu ul li a {
  font-size: 14px;
  color: var(--color-text);
  font-weight: 600;
}

.top-menu ul li a:hover {
  color: var(--accent-color);
}

.contacts-header {
  display: flex;
  flex-direction: column;
  align-items: end;
}

.phone {
  font-size: 20px;
  font-weight: bold;
}

.email {
  font-size: 16px;
  padding-top: 5px;
}

main {
  padding-top: 140px;
}

.slider {
  height: 509px;
  width: 100%;
  max-width: 1200px;
  margin-top: 20px;
  background-image: url(../img/banner.png);
}

.about {
  padding: 0 20px;
}
.about h1 {
  line-height: 1.2;
}

.about-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.zavod img {
  border-radius: 15px;
}

.lider {
  width: 150rem;
  text-align: center;
  display: grid;
  grid-template-columns: repeat(3, 150px);
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.lider img {
  max-width: 150px;
}


.col {
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 20px;
}

.col img {
  width: 300px;
  height: auto;
  margin: 15px;
}

.bg {
  background: url(../img/Vector.png) no-repeat;
  min-width: 1200px;
  width: 100%;
  padding-top: 55px;
  margin: 0 !important;
}

.item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  text-align: center;
}

.item p {
  font-family: "Raydis", sans-serif;
  font-size: 128px;
  margin: 35px 0;
  text-align: center;
  color: var(--color-text);
}

.last-colum p {
  font-size: 64px;
}

.prod {
  padding: 0 30px;
}

.product {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
}

.product a {
  color: var(--color-text);
}

.product__item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
  text-align: center;
  align-items: center;
  border: 1px solid #b6b6b6;
  border-radius: 16px;
  padding: 20px;
  position: relative;
  min-width: 370px;
  width: 370px;
  min-height: 390px;
  height: 440px;
}

.product__item img {
  max-width: 320px;
  max-height: 278px;
  height: auto;
  object-fit: contain;
}

.product__item img:hover {
  transform: scale(1.08);
  transition: transform 0.2s;
}

.product__item-title {
  font-family: "Raydis", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.product__item-lable {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 10px;
  border-radius: inherit;
  background-color: #ffbb3a;
  font-weight: 700;
  
}

.product-list-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px;
  font-size: 24px;
  font-weight: 500;
  color: #000;
}
.product-list-pagination a {
  color: #000;
}

.process {
  background: url(../img/Vector-4.png) no-repeat;
  height: 276px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.process p {
  font-weight: 500;
  font-size: 18px;
  text-align: center;
}

.partner-section {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.partner-container {
  justify-self: center;
  position: relative;
  padding: 0 15px;
}

.main-image {
  width: 150px;
}

.hover-image {
  position: absolute;
  bottom: 100%;
  left: -60px;
  display: none; /* Скрываем всплывающие изображения по умолчанию */
  background-color: rgba(216, 246, 255, 0.9);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 10; /* Убедитесь, что всплывающее окно находится поверх других элементов */
}

.hover-image img {
  width: 100px;
  height: auto;
  margin: 5px 0;
}

.hover-image img:last-child {
  margin-right: 0;
}

.partner-container:hover .hover-image {
  display: flex;
}

.empty-item {
  visibility: hidden; /* Скрываем пустые элементы */
}

.contact {
  padding: 0 20px;
}

.contact-el {
  display: flex;
  align-items: start;
}

.map {
  width: 570px;
  height: auto;
  margin-right: 50px;
}

.address-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.address-title i {
  font-size: 24px;
}

.content-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
  padding-left: 35px;
  padding-right: 35px;
  position: relative;
  background-image: url(../img/bg-product-title.png);
  background-position: 0 0;
  min-height: 278px;
  height: 278px;
}

.product-list ul {
  display: grid;
  grid-template-columns: repeat(2, 550px);
  gap: 20px;
}

.product-card {
  display: flex;
  width: min-content;
  border: 2px solid #bfbfbf;
  border-radius: 16px;
  padding: 13px;
  gap: 20px;
  position: relative;
}

.product-card img {
  max-width: 242px;
  max-height: 402px;
  height: 100%;
  object-fit: contain;
}

.product-card-discription h2 {
  font-family: var(--font-family-main);
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card-discription p {
  width: 261px;
  margin: 0;
  flex-wrap: wrap;
}

.product-card-discription span {
  font-weight: 800;
}

.product-taste {
  display: flex;
  flex-direction: column;
}

.product-taste h3 {
  font-size: 32px;
  font-weight: 700;
}

.product-teste_item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}
.product-teste_item span {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  padding: 10px;
  border: 2px solid #bfbfbf;
  border-radius: 26px;
}

.new {
  position: absolute;
  top: -20px;
  right: 25px;
  padding: 10px;
  border-radius: inherit;
  background-color: #ffbb3a;
  font-weight: 700;
  
}

footer {
  background: url(../img/footer.png) no-repeat;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 15px;
  padding-top: 60px;
  padding-left: 20px;
  padding-right: 20px;
  margin-top: 35px;
}

.footer-item img {
  margin-top: 20px;
}

.footer-nav {
  width: 220px;
}

.footer-nav ul li {
  border-bottom: 1px solid #d6d4d4;
  padding: 5px 0;
}

.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-contact-header {
  font-size: 16px;
  font-weight: bold;
}

.text {
  font-size: 20px;
  font-weight: 600;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--accent-color) !important;
}
