:root {
  --green: #178032;
  --light: #eef3ef;
  --text: #182018;
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

.product-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #e8eee8;
}

.product-nav {
  max-width: 1380px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.product-nav img {
  width: 122px;
}

.product-nav a {
  color: #111;
  text-decoration: none;
  font-weight: 800;
}

.product-nav .phone {
  margin-left: auto;
  font-size: 22px;
}

.product-nav .cta {
  padding: 14px 24px;
  border-radius: 10px;
  background: #198e38;
  color: #fff;
}

.product-hero {
  max-width: 1380px;
  margin: 36px auto 0;
  padding: 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: 36px;
  align-items: stretch;
}

.product-hero__media {
  min-height: 520px;
  border-radius: 12px;
  overflow: hidden;
  background: #edf3ed;
}

.product-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-hero__text {
  padding: 44px;
  border-radius: 12px;
  background: var(--light);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.product-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 5vw, 78px);
  line-height: .96;
}

.product-subtitle {
  font-size: 24px;
  line-height: 1.35;
  margin: 0 0 24px;
}

.product-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.product-button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 10px;
  background: #198e38;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  border: 0;
}

.product-button--light {
  background: #fff;
  color: #198e38;
  border: 1px solid rgba(25, 142, 56, .25);
}

.product-section {
  max-width: 1380px;
  margin: 54px auto 0;
  padding: 0 28px;
}

.product-section h2 {
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 22px;
}

.product-description__content {
  max-width: 1120px;
  background: #f4f7f4;
  border: 1px solid #dfe8df;
  border-radius: 12px;
  padding: 30px;
  font-size: 19px;
  line-height: 1.65;
}

.product-description__content p {
  margin: 0 0 18px;
}

.product-description__content ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.product-description__content li + li {
  margin-top: 8px;
}

.product-slider {
  position: relative;
  border-radius: 16px;
  background: #f4f7f4;
  border: 1px solid #dfe8df;
  padding: 18px;
}

.product-slider__stage {
  position: relative;
  height: min(58vh, 560px);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.product-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .24s ease;
  background: #fff;
}

.product-slider__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.product-slider__slide img,
.product-slider__slide video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}

.product-slider__slide span {
  display: none !important;
}

.product-slider__arrow {
  position: absolute;
  top: calc(18px + min(29vh, 280px));
  z-index: 5;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: rgba(25, 142, 56, .94);
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(16, 24, 16, .18);
  transform: translateY(-50%);
}

.product-slider__arrow--prev {
  left: 34px;
}

.product-slider__arrow--next {
  right: 34px;
}

.product-slider__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding: 0 2px 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.product-slider__thumb {
  flex: 0 0 112px;
  height: 76px;
  padding: 0;
  border: 3px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #eef2ee;
  cursor: pointer;
  opacity: .72;
  transition: opacity .18s ease, border-color .18s ease, transform .18s ease;
}

.product-slider__thumb:hover,
.product-slider__thumb.is-active {
  opacity: 1;
  border-color: #198e38;
  transform: translateY(-2px);
}

.product-slider__thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-slider__thumb--video {
  color: #fff;
  background: #198e38;
  font-weight: 900;
  font-size: 15px;
}

.product-slider__meta {
  display: flex;
  justify-content: center;
  margin-top: 8px;
  color: #101810;
  font-size: 18px;
  font-weight: 900;
}

.product-footer {
  margin-top: 70px;
  padding: 38px 28px;
  background: #151b15;
  color: #fff;
  text-align: center;
}

.product-footer a {
  color: #43d567;
}

@media (max-width: 980px) {
  .product-header {
    position: relative;
  }

  .product-nav {
    max-width: 100%;
    padding: 12px 16px;
    gap: 14px;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }

  .product-nav img {
    width: 88px;
    flex: 0 0 auto;
  }

  .product-nav a {
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 1.15;
    white-space: nowrap;
  }

  .product-nav .phone {
    margin-left: 0;
    font-size: 16px;
  }

  .product-nav .cta {
    padding: 10px 14px;
    border-radius: 8px;
  }

  .product-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 18px;
    padding: 0 16px;
  }

  .product-hero__media {
    min-height: 0;
    height: clamp(250px, 62vw, 420px);
    border-radius: 10px;
  }

  .product-hero__text {
    padding: 24px;
    border-radius: 10px;
  }

  .product-hero h1 {
    font-size: clamp(34px, 9vw, 56px);
    line-height: 1;
  }

  .product-subtitle,
  .product-description__content {
    font-size: 17px;
  }

  .product-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .product-button {
    width: 100%;
    min-height: 50px;
    padding: 12px 18px;
    text-align: center;
  }

  .product-section {
    margin-top: 34px;
    padding: 0 16px;
  }

  .product-section h2 {
    font-size: 30px;
    line-height: 1.12;
  }

  .product-description__content {
    padding: 22px;
  }

  .product-slider {
    padding: 10px;
    border-radius: 12px;
  }

  .product-slider__stage {
    height: clamp(260px, 70vw, 430px);
    min-height: 260px;
  }

  .product-slider__arrow {
    top: calc(10px + clamp(130px, 35vw, 215px));
    width: 42px;
    height: 42px;
    font-size: 30px;
  }

  .product-slider__arrow--prev {
    left: 16px;
  }

  .product-slider__arrow--next {
    right: 16px;
  }
}

@media (max-width: 560px) {
  .product-nav {
    padding: 10px 12px;
    gap: 11px;
  }

  .product-nav img {
    width: 72px;
  }

  .product-nav a {
    font-size: 13px;
  }

  .product-nav .phone {
    display: inline-flex;
  }

  .product-nav .cta {
    padding: 9px 12px;
  }

  .product-hero,
  .product-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .product-hero__text {
    padding: 20px;
  }

  .product-hero h1 {
    font-size: 34px;
  }

  .product-section h2 {
    font-size: 26px;
  }

  .product-slider__stage {
    height: 300px;
    min-height: 300px;
  }

  .product-slider__arrow {
    top: 160px;
  }

  .product-slider__thumb {
    flex-basis: 78px;
    height: 56px;
    border-width: 2px;
  }
}
