html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}


.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
}

#lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
  display: block;
  margin: 0 auto;
}

/* Кнопка закрытия */
.lightbox-close {
    position: absolute;
    top: -46px;
    right: -16px;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    background: rgb(11, 141, 65);
    border-radius: 50%;
    padding: 0px 10px 5px 10px;
    line-height: 36px;
    text-align: center;
}

/* Адаптив */
@media (max-width: 768px) {
  .lightbox-content {
    max-width: 95%;
    max-height: 95%;
  }

  #lightbox-img {
    max-height: 70vh;
  }

  .lightbox-close {
            position: absolute;
            top: -46px;
            right: 1px;
            font-size: 32px;
            color: #fff;
            cursor: pointer;
            background: rgb(11, 141, 65);
            border-radius: 50%;
            padding: 0px 10px 0px 10px;
            line-height: 36px;
            text-align: center;
}
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  /* justify-content: center; */
  margin-top: 40px;
  padding: 0 10px;
}

.gallery a {
  display: block;
  width: 220px;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}
.gallery a:hover {
  transform: scale(1.02);
}

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

/* Адаптивность */
@media (max-width: 768px) {
  .gallery a {
    width: 45%;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  .gallery a {
    width: 100%;
    aspect-ratio: 4 / 3;
  }
}




header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.container.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
}

.logo {
  height: 50px;
}

/* Меню */
nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav ul li a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  padding: 8px 12px;
  transition: color 0.3s ease;
}
nav ul li a:hover {
  color: #7CFC00;
}

/* Бургер */
.burger {
  display: none;
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
  margin-left: 12px;
}
.burger span,
.burger::before,
.burger::after {
  content: '';
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: #000;
  transition: 0.3s;
}
.burger span { top: 9px; }
.burger::before { top: 0; }
.burger::after { bottom: 0; }
.burger.active span {
  opacity: 0;
}
.burger.active::before {
  transform: translateY(9px) rotate(45deg);
}
.burger.active::after {
  transform: translateY(-9px) rotate(-45deg);
}

/* Телефон */
.phone {
  display: flex;
  align-items: center;
  font-weight: bold;
}
.phone svg {
  margin-left: 8px;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .container.nav {
    flex-direction: row;
    align-items: center;
  }

  .burger {
    display: block;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }

  nav ul.open {
    max-height: 400px; /* увеличено для видимости */
    opacity: 1;
    padding: 10px 0;
  }

  .phone {
    margin-top: 30px;
    margin-left: 30%;
  }

  .logo {
    height: 40px;
  }
}







footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-logo {
  height: 48px;
  margin-bottom: 12px;
}
.footer-text {
  font-size: 14px;
  color: #ccc;
}
.footer-bottom {
  text-align: center;
  color: #aaa;
  margin-top: 24px;
  font-size: 13px;
}
footer a {
  color: #7CFC00;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
.widget-whatsapp {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 20;
  border-radius: 50%;
}
.widget-whatsapp img {
  width: 65px;
  height: 65px;
}

.widget-phone {
  position: fixed;
  left: 10px;
  bottom: 10px;
  z-index: 20;
  border-radius: 50%;
}
.widget-phone img {
  width: 65px;
  height: 65px;
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-logo {
    height: 40px;
  }
  .product-images{
    text-align: center;
  }
  .product-images img {
    max-width: none;
  }
  .long-image{
    overflow-x: scroll;
    scrollbar-color: #ABCC4C;
    scrollbar-color: #ABCC4C transparent;
  }

  .long-image::-webkit-scrollbar-thumb {
    background-color: #ABCC4C;
    border-radius: 4px;
  }

}


    .whatsapp-btn {
      display: inline-block;
      background-color: #25D366;
      color: #fff;
      padding: 12px 24px;
      border-radius: 8px;
      font-weight: bold;
      text-decoration: none;
      transition: background 0.3s ease;
    }

    .whatsapp-btn:hover {
      background-color: #1ebe5d;
    }


    
.widget-whatsapp {
		position: fixed;
		right: 10px;
		bottom: 10px;
		z-index: 20;
		border-radius: 50%;
		z-index: 3;
		animation: ripple-1 1.5s 0s ease-out infinite;
	  }
	  .widget-call {
		position: fixed;
		left: 50px;
		bottom: 50px;
		z-index: 20;
		border-radius: 50%;
		z-index: 3;
		animation: ripple-2 1.5s 0s ease-out infinite;
	  }
	  .widget-whatsapp a, .widget-call a {
		width: 65px;
		height: 65px;
		display: flex;
		align-items: center;
		justify-content: center;
	  }
	  .widget-whatsapp img, .widget-call img {
		width: 100%;
		height: 100%;
		animation: 1500ms ease 1s normal none 1 running shake;
		animation-iteration-count: infinite;
	  }
	  @keyframes  ripple-1 {
		0% {box-shadow: 0 0 8px 6px rgba(0,176,103, 0), 0 0 0 0 rgba(61, 116, 73, 0), 0 0 0 0 rgba(31, 212, 137, 0);}
		10% {box-shadow: 0 0 8px 6px rgb(11, 141, 65), 0 0 12px 10px rgba(49, 139, 86, 0), 0 0 0 0 rgb(54, 168, 19);}
		100% {box-shadow: 0 0 8px 6px rgba(0,176,103, 0), 0 0 0 40px rgba(43, 197, 68, 0), 0 0 0 40px rgba(16, 187, 116, 0);}
	  }
	  @keyframes  ripple-2 {
		0% {box-shadow: 0 0 8px 6px rgba(0,176,103, 0), 0 0 0 0 rgba(61, 116, 73, 0), 0 0 0 0 rgba(31, 212, 137, 0);}
		10% {box-shadow: 0 0 8px 6px #00b1f5, 0 0 12px 10px rgba(49, 139, 86, 0), 0 0 0 0 #00b1f5;}
		100% {box-shadow: 0 0 8px 6px rgba(0,176,103, 0), 0 0 0 40px rgba(43, 197, 68, 0), 0 0 0 40px rgba(16, 187, 116, 0);}
	  }
	  @keyframes  shake {
		0% {
		transform: rotateZ(0deg);
		}
		10% {
		transform: rotateZ(-30deg);
		}
		20% {
		transform: rotateZ(15deg);
		}
		30% {
		transform: rotateZ(-10deg);
		}
		40% {
		transform: rotateZ(7.5deg);
		}
		50% {
		transform: rotateZ(-6deg);
		}
		60% {
		transform: rotateZ(5deg);
		}
		70% {
		transform: rotateZ(-4.28571deg);
		}
		80% {
		transform: rotateZ(3.75deg);
		}
		90% {
		transform: rotateZ(-3.33333deg);
		}
		100% {
		transform: rotateZ(0deg);
		}
	  }
	  .b24-widget-button-wrapper {
		display: none;
	  }


@media (max-width: 400px) {
    .benefit {
        font-size: 10px;
        height: 110px;
    }
    .article__img1 picture {
        height: 250px;
    }
    .modal-content_form {
    margin: 50% auto !important;
    width: 80% !important;
  }
}
.widget-whatsapp {
    position: fixed;
    right: 7px;
    /* bottom: 60px; */
    z-index: 20;
    border-radius: 50%;
    z-index: 3;
    animation: ripple-1 1.5s 0s ease-out infinite;
  }
  .widget-call {
    position: fixed;
    left: 50px;
    bottom: 50px;
    z-index: 20;
    border-radius: 50%;
    z-index: 3;
    animation: ripple-2 1.5s 0s ease-out infinite;
  }
  .widget-whatsapp a, .widget-call a {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .widget-whatsapp img, .widget-call img {
    width: 100%;
    height: 100%;
    animation: 1500ms ease 1s normal none 1 running shake;
    animation-iteration-count: infinite;
  }
  @keyframes ripple-1 {
    0% {box-shadow: 0 0 8px 6px rgba(0,176,103, 0), 0 0 0 0 rgba(61, 116, 73, 0), 0 0 0 0 rgba(31, 212, 137, 0);}
    10% {box-shadow: 0 0 8px 6px rgb(11, 141, 65), 0 0 12px 10px rgba(49, 139, 86, 0), 0 0 0 0 rgb(54, 168, 19);}
    100% {box-shadow: 0 0 8px 6px rgba(0,176,103, 0), 0 0 0 40px rgba(43, 197, 68, 0), 0 0 0 40px rgba(16, 187, 116, 0);}
  }
  @keyframes ripple-2 {
    0% {box-shadow: 0 0 8px 6px rgba(0,176,103, 0), 0 0 0 0 rgba(61, 116, 73, 0), 0 0 0 0 rgba(31, 212, 137, 0);}
    10% {box-shadow: 0 0 8px 6px #00b1f5, 0 0 12px 10px rgba(49, 139, 86, 0), 0 0 0 0 #00b1f5;}
    100% {box-shadow: 0 0 8px 6px rgba(0,176,103, 0), 0 0 0 40px rgba(43, 197, 68, 0), 0 0 0 40px rgba(16, 187, 116, 0);}
  }
  @keyframes shake {
    0% {
    transform: rotateZ(0deg);
    }
    10% {
    transform: rotateZ(-30deg);
    }
    20% {
    transform: rotateZ(15deg);
    }
    30% {
    transform: rotateZ(-10deg);
    }
    40% {
    transform: rotateZ(7.5deg);
    }
    50% {
    transform: rotateZ(-6deg);
    }
    60% {
    transform: rotateZ(5deg);
    }
    70% {
    transform: rotateZ(-4.28571deg);
    }
    80% {
    transform: rotateZ(3.75deg);
    }
    90% {
    transform: rotateZ(-3.33333deg);
    }
    100% {
    transform: rotateZ(0deg);
    }
  }
  .b24-widget-button-wrapper {
    display: none;
  }

















.contact-and-categories {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.contact-form {
  background: #fff;
  border-radius: 8px;
}

.contact-form h2 {
  margin-bottom: 20px;
}

.contact-form form input,
.contact-form form textarea,
.contact-form form select {
  box-sizing: border-box;
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form form input:hover,
.contact-form form textarea:hover,
.contact-form form select:hover {
  outline-color: #25D366;
}

.contact-form form input:focus-visible,
.contact-form form textarea:focus-visible,
.contact-form form select:focus-visible {
  outline-color: #25D366;
}


.contact-form form button {
  width: 100%;
  background: #25D366;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form form button:hover {
  background: #1ebe5d;
}

.categories-section h2 {
  margin-bottom: 20px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  padding: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  text-align: center;
  transition: transform 0.2s ease;
}

.category-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 12px;
  border-radius: 4px;
}

.category-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Адаптив */
@media (max-width: 768px) {
  .contact-and-categories {
    grid-template-columns: 1fr;
    grid-template-areas:
      "categories"
      "form";
    text-align: center;
  }

  .categories-section {
    grid-area: categories;
  }

  .contact-form {
    grid-area: form;
  }
  
}


/* Стили модального окна */
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.6);
  }

  .modal-content_form {
    background: #fff;
    margin: 10% auto;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    position: relative;
  }

  .close_form {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
  }

  .contact-form__form input,
  .contact-form__form select,
  .contact-form__form button {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
  }

.btn {
      background-color: #ffffff;
      /* color: #7CFC00; */
      padding: 14px 28px;
      text-decoration: none;
      font-weight: bold;
      border-radius: 8px;
      transition: background 0.3s ease;
      border: 2px solid #7CFC00;
      color: #000 !important;
    }

    .btn:hover {
      background-color: #f0f0f0;
      cursor: pointer;
    }