.btg-rp,
.btg-rp * {
  box-sizing: border-box;
}

.btg-rp {
  clear: both;
  width: 100%;
  padding: 54px 0;
  background: #f2f7f5;
  color: #102033;
  font-family: Arial, Helvetica, sans-serif;
}

.btg-rp__inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
}

.btg-rp__panel {
  margin: 0 0 34px;
}

.btg-rp__panel:last-child {
  margin-bottom: 0;
}

.btg-rp__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
  padding: 0 0 10px;
  border-bottom: 2px solid #0b8f73;
}

.btg-rp__head h2 {
  margin: 0;
  padding: 0;
  color: #102033;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: normal;
  text-transform: none;
}

.btg-rp__controls {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.btg-rp__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0 0 3px;
  border: 1px solid #b9d8cf;
  border-radius: 999px;
  background: #fff;
  color: #007a55;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
  font: 900 24px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
  appearance: none;
}

.btg-rp__control:hover {
  border-color: #007a55;
  background: #007a55;
  color: #fff;
}

.btg-rp__control:focus-visible {
  outline: 3px solid rgba(11, 143, 115, .3);
  outline-offset: 2px;
}

.btg-rp__track {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(245px, calc((100% - 36px) / 3));
  gap: 18px;
  margin: 0;
  padding: 2px 2px 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #8bc9b9 #e5efeb;
}

.btg-rp__card {
  display: grid;
  grid-template-rows: 170px auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d8e7e1;
  border-radius: 8px;
  background: #fff;
  color: #102033;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .05);
  text-decoration: none;
  scroll-snap-align: start;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.btg-rp__card:visited {
  color: #102033;
}

.btg-rp__card:hover {
  border-color: #10b981;
  color: #102033;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .10);
  text-decoration: none;
  transform: translateY(-2px);
}

.btg-rp__card:focus-visible {
  outline: 3px solid rgba(11, 143, 115, .3);
  outline-offset: 2px;
}

.btg-rp__image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 14px;
  border-bottom: 1px solid #edf4f1;
  background: #fff;
}

.btg-rp__image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 145px;
  margin: 0;
  object-fit: contain;
}

.btg-rp__body {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 18px;
}

.btg-rp__title {
  color: #0f172a;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.22;
}

.btg-rp__text {
  margin: 0;
  color: #5a6878;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.42;
}

.btg-rp__price {
  display: inline-flex;
  justify-self: start;
  margin-top: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e9fff4;
  color: #007a55;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .btg-rp {
    padding: 42px 0;
  }

  .btg-rp__head h2 {
    font-size: 25px;
  }

  .btg-rp__track {
    grid-template-columns: none;
    grid-auto-columns: minmax(230px, 78%);
  }
}

@media (max-width: 520px) {
  .btg-rp__inner {
    padding: 0 16px;
  }

  .btg-rp__head {
    gap: 10px;
  }

  .btg-rp__head h2 {
    font-size: 22px;
  }

  .btg-rp__control {
    width: 38px;
    height: 38px;
  }

  .btg-rp__track {
    grid-auto-columns: minmax(224px, 88%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btg-rp__track {
    scroll-behavior: auto;
  }

  .btg-rp__card {
    transition: none;
  }
}
