#stock-block {
  padding: 40px 0;
}

#stock-block .textdop{
  font-family: "Avenir Next Cyr";
  font-size: clamp(20px, 0.00125* 100vw + 19.6px, 22px);
  font-style: normal;
  font-weight: 300;
  line-height: 120%;
  color: var(--maintext);
}

#stock-block .textdop.textup{
	margin-bottom: 30px;
}

#stock-block .textdop.textdown{
	margin-top: 10px;
}

#stock-block .stock__blocks {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

#stock-block .stock__single-block {
  display: flex;
  align-items: start;
  gap: 50px;
}

#stock-block .stock__single-block:nth-child(even) {
  flex-direction: row-reverse;
}

#stock-block .stock__single-block-table {
  width: 50%;
}

#stock-block .stock__single-block-table-head {
  display: grid;
  grid-template-columns: 69% 30%;
  gap: 10px;
  margin-bottom: 10px;
}

#stock-block .stock__single-block-table-head-name {
  padding: 20px 30px;
  border-radius: 10px;
  font-family: "Optima Cyr";
  font-size: clamp(18px, 0.00375 * 100vw + 16.8px, 24px);
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  /* 60px */
  text-transform: uppercase;
  color: #fff;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}

#stock-block .stock__single-block-table-head-value {
  display: flex;
  align-items: center;
  text-align: center;
  padding: 20px 30px;
  border-radius: 10px;
  font-family: "Optima Cyr";
  font-size: clamp(18px, 0.00375 * 100vw + 16.8px, 24px);
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  /* 60px */
  text-transform: uppercase;
  color: #fff;
  background-color: var(--primary);
  justify-content: center;
}

#stock-block .stock__single-block-table-body {
  display: flex;
  flex-direction: column;
}

#stock-block .stock__single-block-table-row {
  display: grid;
  grid-template-columns: 69% 30%;
  gap: 10px;
  margin-bottom: 10px;
}

#stock-block .stock__single-block-table-row-name {
  padding: 20px 30px;
  border-radius: 10px;
  background-color: #fff;
  display: flex;
  align-items: center;
  font-family: "Avenir Next Cyr";
  font-size: clamp(18px, 0 * 100vw + 18px, 18px);
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

#stock-block .stock__single-block-table-row-value {
  padding: 20px 30px;
  border-radius: 10px;
  background-color: #fff;
  display: flex;
  align-items: center;
  font-family: "Avenir Next Cyr";
  font-size: clamp(18px, 0 * 100vw + 18px, 18px);
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  text-align: center;
  justify-content: center;
}

#stock-block .stock__single-block-img {
  width: 50%;
  max-height: 600px;
  border-radius: 10px;
  overflow: hidden;
}

#stock-block .stock__single-block-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

#stock-block .stock__form {
  margin-top: 40px;
  background-color: var(--primary);
  display: flex;
  border-radius: 20px;
}

#stock-block .stock__form-img {
  max-width: 500px;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
}

#stock-block .stock__form-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  position: relative;
  z-index: 10;
}

#stock-block .stock__form-content {
  padding: 60px 60px 60px 20px;
}

#stock-block .stock__form-title {
  font-family: "Optima Cyr";
  font-size: clamp(24px, 0.015 * 100vw + 19.2px, 48px);
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  /* 60px */
  text-transform: uppercase;
  color: var(--head);
  margin-bottom: 30px;
}

#stock-block .stock__form-title span {
  font-family: "Optima Cyr";
  font-size: clamp(24px, 0.015 * 100vw + 19.2px, 48px);
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  /* 60px */
  text-transform: uppercase;
  color: #fff;
}

#stock-block .stock__form-desc {
  font-family: "Avenir Next Cyr";
  font-size: clamp(20px, 0.00125 * 100vw + 19.6px, 22px);
  font-style: normal;
  font-weight: 300;
  line-height: 150%;
  color: var(--maintext);
  margin-bottom: 40px;
}

#stock-block .stock__form-inputs .form__inputs-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

#stock-block .stock__form-inputs .form__inputs-wrapper .btn {
  width: auto;
}

#stock-block .stock__form-inputs .form__policy {
  margin-top: 40px;
  font-family: "Avenir Next Cyr";
  font-size: clamp(14px, 0 * 100vw + 14px, 14px);
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  color: var(--maintext);
}

#stock-block .stock__form-inputs .form__policy a {
  font-family: "Avenir Next Cyr";
  font-size: clamp(14px, 0 * 100vw + 14px, 14px);
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  color: #fff;
}

@media only screen and (max-width: 1300px) {

  #stock-block .stock__single-block-table {
    width: 100%;
  }

  #stock-block .stock__single-block-img {
    width: 100%;
    overflow: hidden;
    justify-content: center;
  }

  #stock-block .stock__single-block {
    gap: 20px;
  }
}

@media only screen and (max-width: 1200px) {
  #stock-block .stock__form-img {
    display: none;
  }
}

@media only screen and (max-width: 1000px) {
  #stock-block .stock__single-block-table-head {
    grid-template-columns: repeat(2,1fr);
  }
  #stock-block .stock__single-block-table-row {
    grid-template-columns: repeat(2,1fr);
  }
  #stock-block .stock__single-block-img {
    position: sticky;
    top: 15%;
  }
  #stock-block {
    padding: 30px 0px !important;
  }
}
@media only screen and (max-width: 850px) {
  #stock-block .stock__single-block {
    flex-direction: column !important;
  }
  #stock-block .stock__single-block-img {
    max-height: 400px;
  }
}
@media only screen and (max-width: 767px) {

  #stock-block .stock__single-block-table-head,
  #stock-block .stock__single-block-table-row {
    grid-template-columns: repeat(2, 1fr);
  }

  #stock-block .stock__form-inputs .form__inputs-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }

  #stock-block .stock__form-content {
    padding: 20px;
  }
  #stock-block .stock__single-block-table-head-name,
  #stock-block .stock__single-block-table-row-value,
  #stock-block .stock__single-block-table-head-value {
    padding: 10px;
  }
}