.drugs__card-desc,
.drugs__card,
.drugs__aside-btn,
.drugs__aside,
.desc__drop-wrap,
.desc__btn,
.ill-btn,
.ill-container,
.head-ill,
.header-part,
.sex-card,
.anatomy__content-part-btn,
.anatomy__content-part-btns,
.desc__btn-to-drug {
  border-radius: 6px;
}

.anatomy {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: 40px;
}
@media screen and (max-width: 979px) {
  .anatomy {
    max-width: 650px;
    margin: 0 auto;
  }
}
.anatomy * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.anatomy__title {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 40px;
}
.anatomy__title * {
  font-family: "Inter-Bold";
  font-size: 30px;
  text-align: center;
}
.anatomy__head {
  display: flex;
  width: 100%;
  margin-bottom: 20px;
  gap: 20px;
}
.anatomy__to-head-btn {
  display: none !important;
  margin-bottom: 20px;
}
@media screen and (max-width: 600px) {
  .anatomy__to-head-btn {
    display: flex !important;
  }
}
.anatomy__sex-card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 650px;
  grid-gap: 20px;
}
@media screen and (max-width: 600px) {
  .anatomy__sex-card-container {
    grid-gap: 10px;
  }
}
@media screen and (max-width: 1366px) {
  .anatomy__sex-card-container {
    grid-gap: 10px;
  }
}
.anatomy .header-card,
.anatomy__sex-card {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: 0.3s all ease;
}
@media screen and (max-width: 600px) {
  .anatomy .header-card,
  .anatomy__sex-card {
    font-size: 12px;
    padding: 4px;
  }
}
@media screen and (max-width: 1366px) {
  .anatomy .header-card,
  .anatomy__sex-card {
    font-size: 12px;
    padding: 10px 4px;
  }
}
.anatomy .header-card.active,
.anatomy__sex-card.active {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
@media (hover) {
  .anatomy .header-card:hover,
  .anatomy__sex-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  }
}
.anatomy .header-card-img,
.anatomy__sex-card-img {
  flex-shrink: 0;
  width: 100%;
  max-width: 50px;
  height: 70px;
  margin-right: 10px;
}
@media screen and (max-width: 600px) {
  .anatomy .header-card-img,
  .anatomy__sex-card-img {
    width: 30px;
    height: 40px;
    margin-right: 0;
  }
}
@media screen and (max-width: 1366px) {
  .anatomy .header-card-img,
  .anatomy__sex-card-img {
    width: 30px;
    height: 40px;
    margin-right: 0;
  }
}
.anatomy .header-card-img img,
.anatomy__sex-card-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
.anatomy .header-card-name,
.anatomy__sex-card-name {
  font-weight: var(--weight-m-500);
}
.anatomy .header-card {
  max-width: 280px;
}
@media screen and (max-width: 1366px) {
  .anatomy .header-card {
    max-width: 220px;
  }
}
@media screen and (max-width: 979px) {
  .anatomy .header-card {
    display: none;
  }
}
.anatomy__inner {
  display: flex;
  width: 100%;
}
@media screen and (max-width: 1366px) {
  .anatomy__inner {
    gap: 20px;
  }
}
@media screen and (max-width: 768px) {
  .anatomy__inner {
    justify-content: center;
  }
}
.anatomy__body-wrap {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 650px;
}
@media screen and (max-width: 1170px) {
  .anatomy__body-wrap {
    width: 500px;
  }
}
@media screen and (max-width: 600px) {
  .anatomy__body-wrap {
    width: 100%;
  }
}
.anatomy__body {
  position: relative;
  display: flex;
  flex-shrink: 0;
  width: 100%;
}
.anatomy__body:hover .part-window,
.anatomy__body:hover .second-images {
  opacity: 1;
}
.anatomy__content {
  position: relative;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  width: 100%;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  grid-gap: 30px;
}
@media screen and (max-width: 1366px) {
  .anatomy__content {
    height: 700px;
    padding: 20px;
    overflow: hidden;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(208, 219, 228, 0.5);
  }
  .anatomy__content.show {
    display: grid;
  }
}
@media screen and (max-width: 979px) {
  .anatomy__content {
    z-index: 99999;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
  }
  .anatomy__content * {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
  }
  .anatomy__content.hide {
    display: none;
  }
}
.anatomy__content-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
}
.anatomy__content-btn-back {
  display: none;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  padding: 8px 20px;
  background: #000;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(208, 219, 228, 0.5);
  text-align: left;
  font-size: 14px;
  color: #fff;
  font-weight: var(--weight-m-500);
  transition: 0.3s all ease;
}
@media screen and (max-width: 1366px) {
  .anatomy__content-btn-back.active {
    display: flex;
  }
}
@media (hover) {
  .anatomy__content-btn-back:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
  }
}
.anatomy__content-btn-home {
  display: none;
  justify-content: center;
  align-items: center;
  padding: 6px;
  margin-left: auto;
  background: #000;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(208, 219, 228, 0.5);
}
@media screen and (max-width: 1366px) {
  .anatomy__content-btn-home.active {
    display: flex;
  }
}
.anatomy__content-btn-home svg {
  fill: #fff;
}
.anatomy__content-item {
  display: flex;
  flex-direction: column;
  width: 100%;
}
@media screen and (max-width: 1366px) {
  .anatomy__content-item {
    position: absolute;
    top: 80px;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    background: #fff;
  }
  .anatomy__content-item.active {
    z-index: 3;
  }
}
.anatomy__content-diseases .anatomy__content-item-inner {
  height: 400px;
  overflow: hidden;
}
@media screen and (max-width: 1366px) {
  .anatomy__content-diseases .anatomy__content-item-inner {
    height: 100%;
  }
}
.anatomy__content-preparats .anatomy__content-item-inner {
  height: 320px;
  overflow: hidden;
}
@media screen and (max-width: 1500px) {
  .anatomy__content-preparats .anatomy__content-item-inner {
    height: 500px;
  }
}
@media screen and (max-width: 1366px) {
  .anatomy__content-preparats .anatomy__content-item-inner {
    height: 100%;
  }
}
.anatomy__content-item-inner {
  display: flex;
  width: 100%;
  height: 100%;
  gap: 10px;
}
.anatomy__content-item-inner .anatomy-diseases_js {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.anatomy__content-item-inner .anatomy-diseases_js .common-btn {
  max-width: 400px;
}
.anatomy__content-item-inner .anatomy-diseases-desc_js {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  gap: 10px;
}
.anatomy__content-item-inner .anatomy-diseases-desc_js .desc-preparats-btn_js {
  display: none;
}
@media screen and (max-width: 1366px) {
  .anatomy__content-item-inner
    .anatomy-diseases-desc_js
    .desc-preparats-btn_js {
    display: flex;
  }
}
.anatomy__content-item-inner .anatomy-preparats-category_js {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.anatomy__content-item-inner .anatomy-preparats-category_js .common-btn {
  max-width: 400px;
}
.anatomy__content-item-inner .anatomy-preparats_js {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.anatomy__content-item-inner .anatomy-preparats_js .common-btn {
  max-width: 400px;
}
.anatomy__content-item-inner .anatomy-preparat_js {
  display: flex;
  flex-direction: column;
  width: 100%;
}
@media screen and (max-width: 1366px) {
  .anatomy__content-item-inner .anatomy-diseases_js,
  .anatomy__content-item-inner .anatomy-diseases-desc_js,
  .anatomy__content-item-inner .anatomy-preparats-category_js,
  .anatomy__content-item-inner .anatomy-preparats_js,
  .anatomy__content-item-inner .anatomy-preparat_js {
    display: none;
  }
}
@media screen and (max-width: 1366px) and (max-width: 1366px) {
  .anatomy__content-item-inner .anatomy-diseases_js,
  .anatomy__content-item-inner .anatomy-diseases-desc_js,
  .anatomy__content-item-inner .anatomy-preparats-category_js,
  .anatomy__content-item-inner .anatomy-preparats_js,
  .anatomy__content-item-inner .anatomy-preparat_js {
    width: 100%;
    height: 100%;
    padding: 0 20px 20px 20px;
  }
}
@media screen and (max-width: 1366px) {
  .anatomy__content-item-inner .anatomy-diseases_js.active,
  .anatomy__content-item-inner .anatomy-diseases-desc_js.active,
  .anatomy__content-item-inner .anatomy-preparats-category_js.active,
  .anatomy__content-item-inner .anatomy-preparats_js.active,
  .anatomy__content-item-inner .anatomy-preparat_js.active {
    display: flex;
  }
}
.anatomy__drop-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0 0 10px 0;
  overflow: hidden;
}
@media screen and (max-width: 979px) {
  .anatomy__drop-container {
    max-height: 400px;
  }
}
@media screen and (max-width: 600px) {
  .anatomy__drop-container {
    max-height: 100%;
  }
}
.anatomy__drop {
  display: none;
  flex-direction: column;
  width: 100%;
  height: 100%;
  gap: 10px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(208, 219, 228, 0.5);
  border-radius: 6px;
  overflow-y: auto;
  -ms-scroll-chaining: none;
  overscroll-behavior: contain;
  scrollbar-color: #0032a0 transparent;
  scrollbar-width: thin;
}
.anatomy__drop::-webkit-scrollbar {
  width: 8px;
}
.anatomy__drop::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 4px;
}
.anatomy__drop::-webkit-scrollbar-thumb {
  background: #0032a0;
  border-radius: 4px;
}
.anatomy__drop.active {
  display: flex;
}
.anatomy__drop > p,
.anatomy__drop li {
  font-size: 14px;
}
.anatomy__content-preparats-title {
  margin-bottom: 10px;
  padding-left: 10px;
}
@media screen and (max-width: 1366px) {
  .anatomy__content-preparats-title {
    width: 100% !important;
    padding: 0 20px;
  }
}
.anatomy__content-preparats-title * {
  font-family: "Inter-Bold";
  font-size: 24px;
  font-weight: var(--weight-m-700);
}
.anatomy__preparat-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: calc(100% - 10px);
  padding: 20px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(208, 219, 228, 0.5);
}
@media screen and (max-width: 1366px) {
  .anatomy__preparat-card {
    width: 100%;
    height: 100%;
  }
}
.anatomy__preparat-card-content {
  display: flex;
  width: 100%;
  gap: 10px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
@media screen and (max-width: 1500px) {
  .anatomy__preparat-card-content {
    flex-direction: column;
    gap: 20px;
  }
}
.anatomy__preparat-card-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 10px;
}
.anatomy__preparat-card-info > h1,
.anatomy__preparat-card-info > h2,
.anatomy__preparat-card-info > h3,
.anatomy__preparat-card-info > h4,
.anatomy__preparat-card-info > h5,
.anatomy__preparat-card-info > h6 {
  font-size: 16px;
  font-weight: var(--weight-m-700);
}
.anatomy__preparat-card-info p {
  font-size: 14px;
}
.anatomy__preparat-card-img {
  flex-shrink: 0;
  position: relative;
  width: 100%;
  max-width: 140px;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
}
.anatomy__preparat-card-img::before {
  content: "";
  display: block;
  width: 100%;
  padding-bottom: 100%;
}
.anatomy__preparat-card-img img,
.anatomy__preparat-card-img svg {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
@media screen and (max-width: 1366px) {
  .anatomy__preparat-card-img {
    flex-shrink: 1;
    position: relative;
    width: 100%;
    max-width: 240px;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
  }
  .anatomy__preparat-card-img::before {
    content: "";
    display: block;
    width: 100%;
    padding-bottom: 100%;
  }
  .anatomy__preparat-card-img img,
  .anatomy__preparat-card-img svg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
  }
}
.anatomy__preparat-card-footer {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: auto;
}
.anatomy__preparat-card-link {
  max-width: -webkit-max-content;
  max-width: -moz-max-content;
  max-width: max-content;
}
@media screen and (max-width: 1366px) {
  .anatomy__preparat-card-link {
    max-width: 100%;
    padding: 16px 20px !important;
    font-size: 16px !important;
    justify-content: center !important;
    align-items: center !important;
  }
}

.main-images {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
}
.main-images::before {
  content: "";
  display: block;
  width: 100%;
  padding-bottom: 160%;
}
.main-images img,
.main-images svg {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
@media screen and (max-width: 600px) {
  .main-images {
    max-height: 500px;
  }
}

.second-images {
  z-index: 5;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  width: 100%;
  max-width: 500px;
  height: 100%;
  -webkit-clip-path: polygon(0px 0%, 100% 0%, 100% 30%, 0px 30%);
  clip-path: polygon(0px 0%, 100% 0%, 100% 30%, 0px 30%);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  opacity: 0;
}
@media screen and (max-width: 1366px) {
  .second-images {
    opacity: 1;
  }
}
.second-images__item {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  width: 100%;
  height: 100%;
  opacity: 0;
  will-change: transform;
  pointer-events: none;
}
.second-images__item.active {
  opacity: 1;
}
.second-images img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  pointer-events: none;
}
.second-images__btn {
  z-index: 22;
  position: absolute;
  cursor: pointer;
}

.part-window {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 30%;
  border: 2px solid #000;
  pointer-events: none;
  opacity: 0;
}
@media screen and (max-width: 1366px) {
  .part-window {
    opacity: 1;
  }
}
.part-window__desc-btn {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  width: 40px;
  height: 40px;
  background-color: #3bbdd2;
  pointer-events: painted;
}
.part-window__desc {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 200px;
  padding: 10px;
  margin-left: auto;
  background: rgba(0, 50, 160, 0.1);
}
@media screen and (max-width: 1170px) {
  .part-window__desc {
    z-index: 44;
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100px;
    padding: 4px;
    background: #0032a0;
  }
}
@media screen and (max-width: 600px) {
  .part-window__desc {
    max-width: 80px;
  }
}
.part-window__img {
  display: flex;
  width: 100%;
  height: 50%;
  margin-bottom: 20px;
  background: #fff;
}
@media screen and (max-width: 1170px) {
  .part-window__img {
    margin-bottom: 10px;
  }
}
.part-window__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
.part-window__desc-info {
  display: flex;
  flex-direction: column;
  width: 100%;
  color: #000;
  font-weight: var(--weight-m-500);
}
@media screen and (max-width: 1170px) {
  .part-window__desc-info {
    color: #fff;
    font-size: 12px;
    word-wrap: break-word;
  }
}

.btns-vertical {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 250px;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  gap: 10px;
  padding: 10px 5px 10px 10px;
  height: 100%;
  overflow-y: auto;
  -ms-scroll-chaining: none;
  overscroll-behavior: contain;
  scrollbar-color: #0032a0 transparent;
  scrollbar-width: thin;
}
.btns-vertical::-webkit-scrollbar {
  width: 8px;
}
.btns-vertical::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 4px;
}
.btns-vertical::-webkit-scrollbar-thumb {
  background: #0032a0;
  border-radius: 4px;
}
@media screen and (max-width: 1366px) {
  .btns-vertical {
    width: 100%;
    padding: 0;
  }
}
.btns-vertical.small {
  max-width: 150px;
}
@media screen and (max-width: 1366px) {
  .btns-vertical.small {
    max-width: 100%;
  }
}
.btns-vertical.accent-2 {
  scrollbar-color: #3bbdd2 transparent;
  scrollbar-width: thin;
}
.btns-vertical.accent-2::-webkit-scrollbar {
  width: 8px;
}
.btns-vertical.accent-2::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 4px;
}
.btns-vertical.accent-2::-webkit-scrollbar-thumb {
  background: #3bbdd2;
  border-radius: 4px;
}
.btns-th-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  gap: 10px;
}
@media screen and (max-width: 1170px) {
  .btns-th-3 {
    grid-template-columns: repeat(1, 1fr);
  }
}

.common-btn {
  display: flex;
  padding: 10px 20px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(208, 219, 228, 0.5);
  text-align: left;
  font-size: 14px;
  color: #000;
  font-weight: var(--weight-m-500);
  transition: 0.3s all ease;
}
@media screen and (max-width: 1366px) {
  .common-btn {
    width: 100%;
  }
}
@media screen and (max-width: 1366px) {
  .common-btn {
    max-width: 100% !important;
    padding: 16px 20px !important;
    font-size: 16px !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center;
  }
}
.common-btn.small {
  padding: 8px 10px;
  font-size: 12px;
}
.common-btn.large {
  padding: 16px 20px;
  font-size: 16px;
  justify-content: center;
  align-items: center;
}
.common-btn.accent-2 {
  background: #3bbdd2;
  color: #fff;
}
@media (hover) {
  .common-btn.accent-2:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
  }
}
.common-btn.accent-2-active.active {
  background: #3bbdd2;
  color: #fff;
}
@media (hover) {
  .common-btn:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
  }
}
.common-btn.active {
  background: #0032a0;
  color: #fff;
}
