.rx-achivments {
  margin-top: 87px;
}

.rx-subcategorylist {
  margin-bottom: 24px;
}

.rx-subcategorylist .rx-subcategorylist__title {
  display: block;
  margin-block-end: 6px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 140%;
}

.rx-subcategorylist .rx-subcategorylist__swiper {
  overflow-x: auto;
}

.rx-subcategorylist .rx-subcategorylist__swiper .swiper-wrapper {
  display: flex;
  gap: 15px;
  flex-wrap: nowrap;
}

.rx-subcategorylist .rx-subcategorylist__swiper .swiper-slide {
  width: fit-content;
  flex: 0 0 auto;
}

.rx-subcategorylist .rx-subcategorylist__swiper .swiper-slide a {
  display: block;
  width: fit-content;
  padding: 18px 52px;
  background: #f0f0f0;
  color: #292525;
  font-size: 1rem;
  font-weight: 500;
  line-height: 140%;
  text-decoration: none;
}

.rx-subcategorylist .rx-subcategorylist__swiper .swiper-slide a.current {
  background: #ffd600;
}

#category.page-product-goals #wrapper > .container {
  display: block;
}

#category.page-product-goals #content-wrapper {
  width: 100%;
  max-width: 100%;
}

#category.page-product-goals .rx-productgoals-listing__subcategory {
  margin-bottom: 32px;
}

#category.page-product-goals #js-product-list .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

#category.page-product-goals #js-product-list .products .product-miniature {
  order: calc(var(--i, 0) * 10);
}

.rx-achivments .switch {
  position: relative;
  display: inline-block;
  width: 88px;
  height: 36px;
  flex: 0 0 auto;
}

.rx-achivments .switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.rx-achivments .slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #ffd600;
  border: 2px solid #1b0f33;
  box-sizing: border-box;
  transition: .4s;
}

.rx-achivments .slider:before {
  position: absolute;
  content: '';
  width: 26px;
  height: 26px;
  left: 3px;
  bottom: 3px;
  background: #1b0f33;
  border-radius: 50%;
  transition: .4s;
}

.rx-achivments input:checked + .slider:before {
  transform: translateX(52px);
}

.rx-achivments .slider.round {
  border-radius: 18px;
}

.rx-achivments .rx-achivments__top {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rx-achivments .rx-achivments__top h2 {
  margin-bottom: 30px;
  font-weight: 850;
  text-align: center;
}

.rx-achivments .rx-achivments__switch {
  display: flex;
  align-items: center;
  gap: 34px;
}

.rx-achivments .rx-achivments__switch h3 {
  font-weight: 800;
  margin-bottom: 0;
}

.rx-achivments__groups {
  margin-bottom: 90px;
}

.rx-achivments__group {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  display: none;
}

.rx-achivments__group.rx-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity .25s ease, transform .25s ease, visibility 0s;
  display: block;
}

.rx-achivments__section + .rx-achivments__section {
  margin-top: 30px;
}

.rx-achivments__hero {
  position: relative;
  min-height: 180px;
  margin-top: 50px;
  margin-bottom: 30px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(17, 17, 17, .92) 0%, rgba(17, 17, 17, .58) 44%, rgba(17, 17, 17, .18) 100%), #292525;
}

.rx-achivments__hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 460px;
  padding: 45px 24px 45px 52px;
}

.rx-achivments__hero-goal {
  margin-bottom: 16px;
  color: #ffd600 !important;
  font-weight: 700;
}

.rx-achivments__hero-title {
  margin-bottom: 24px;
  color: #fff !important;
  font-weight: 850;
}

.rx-achivments__hero-link {
  color: #fff !important;
  font-weight: 500;
  text-decoration: none;
}

.rx-achivments__background {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rx-achivments__background--mobile {
  display: none;
}

.rx-achivments__products {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.rx-achivments__products .product-miniature {
  width: auto;
  min-width: 0;
  margin-bottom: 0;
}

.rx-achivments .swiper-button-prev, 
.rx-achivments .swiper-button-next {
  width: 36px;
  height: 36px;
  background-size: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='36' height='36' viewBox='0 0 36 36' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3CforeignObject x='-10' y='-10' width='56' height='56'%3E%3Cdiv xmlns='http://www.w3.org/1999/xhtml' style='backdrop-filter:blur(5px);clip-path:url(%23bgblur_0_546_18471_clip_path);height:100%25;width:100%25'%3E%3C/div%3E%3C/foreignObject%3E%3Cg data-figma-bg-blur-radius='10'%3E%3Crect width='36' height='36' rx='6' fill='white' fill-opacity='0.6'/%3E%3Crect x='0.5' y='0.5' width='35' height='35' rx='5.5' stroke='%23292525' stroke-opacity='0.5'/%3E%3Cpath d='M16 24L22 18L16 12' stroke='%23292525' stroke-linecap='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='bgblur_0_546_18471_clip_path' transform='translate(10 10)'%3E%3Crect width='36' height='36' rx='6'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
  top: 50%;
}

.rx-achivments .swiper-button-prev {
  left: 0;
  transform: translateY(-50%) rotate(180deg);
}

.rx-achivments .swiper-button-next {
  right: 0;
  transform: translateY(-50%);
}

.rx-achivments .swiper-button-prev::after, 
.rx-achivments .swiper-button-next::after {
  display: none;
}

.rx-achivments .swiper-button-disabled {
  opacity: 0;
}

@media (max-width: 1199.98px) {
  .rx-achivments__groups {
    margin-bottom: 40px;
  }

  .rx-achivments__products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  #category.page-product-goals #js-product-list .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }

  .rx-achivments__products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .rx-subcategorylist .rx-subcategorylist__swiper .swiper-slide a {
    padding: 14px 24px;
  }

  .rx-achivments .rx-achivments__top h2 {
    font-weight: 800;
    font-size: 31.3px;
    line-height: 100%;
  }

  .rx-achivments .rx-achivments__switch {
    gap: 26px;
  }

  .rx-achivments .rx-achivments__switch h3 {
    font-weight: 700;
    font-size: 25px;
    line-height: 30px;
  }

  .rx-achivments__background--desktop {
    display: none;
  }

  .rx-achivments__background--mobile {
    display: block;
  }

  .rx-achivments__hero {
    min-height: 150px;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .rx-achivments__hero-content {
    padding: 24px 17px;
  }

  .rx-achivments__hero-goal {
    margin-bottom: 0;
    color: #fff !important;
    font-weight: 700;
    font-size: 16px;
    line-height: 25.6px;
  }

  .rx-achivments__hero-title {
    margin-bottom: 30px;
    font-weight: 800;
    font-size: 31.3px;
    line-height: 100%;
  }

  .rx-achivments__hero-link {
    font-weight: 500;
    font-size: 16px;
    line-height: 25.6px;
  }

  .rx-achivments__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 575.98px) {
  #category.page-product-goals #js-product-list .products {
    grid-template-columns: 1fr;
  }

  .rx-achivments__products {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .rx-achivments .rx-achivments__switch h3 {
    font-size: 18px;
  }
}
