.order-product {
  position: relative;
  border-bottom: 2px solid #f6f6f6;
  padding-block: 16px 50px;
}
@media (min-width: 768px) {
  .order-product {
    border-width: 1px;
    padding-block: 0;
  }
}
@media (min-width: 768px) {
  .order-product.active .order-product__total-view {
    background-color: rgba(38, 38, 39, 0.03);
  }
}
.order-product.active .order-product__total-view .article__data::before {
  background-color: #fff;
}
.order-product.active .order-product__detail-view {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.order-product.active .order-product__button svg {
  transform: rotate(180deg);
}
.order-product__total-view {
  background-color: #fff;
  transition: background-color 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
@media (min-width: 768px) {
  .order-product__total-view_body {
    padding: 20px;
  }
}
.order-product__total-view_article {
  padding-block: 4px;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  max-width: max-content;
}
.order-product__total-view_article p {
  font-weight: 500;
  font-size: 13px;
  line-height: 1.23;
  color: #959595;
}
.order-product__total-view_article .article__data::before {
  background-color: #eaeaea;
}
.order-product__total-view_article .article__data_value {
  line-height: 1.25;
  font-size: 13px;
}
.order-product__total-view_params {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "info info" "article status" "wires wires" "price price" "length length" "sum sum";
  gap: 0 10px;
}
@media (min-width: 768px) {
  .order-product__total-view_params {
    grid-template-columns: 1.2fr 0.6fr 0.5fr 0.45fr 0.7fr 0.9fr 30px;
    grid-template-areas: "info price wires length sum status control" "article article . . . . .";
    gap: 0 20px;
  }
}
.order-product__detail-view {
  background-color: #fff;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: max-height 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), opacity 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), visibility 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
.order-product__detail-view_body {
  padding-block: 10px;
}
@media (min-width: 768px) {
  .order-product__detail-view_body {
    padding: 6px 20px 16px 20px;
  }
}
.order-product__detail-view_header {
  display: grid;
  grid-template-columns: 0.25fr 1fr 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}
@media (min-width: 768px) {
  .order-product__detail-view_header {
    display: none;
    margin-bottom: 0;
  }
}
.order-product__detail-view_header span {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.2;
  color: #959595;
}
.order-product__detail-view_params {
  display: flex;
  flex-direction: column;
}
.order-product__detail-view_params_item {
  display: grid;
  grid-template-columns: 0.25fr 1fr 1fr;
  gap: 10px;
  grid-template-areas: "wires article status";
  align-items: center;
}
.order-product__detail-view_params_item + .order-product__detail-view_params_item {
  margin-top: 12px;
}
@media (min-width: 768px) {
  .order-product__detail-view_params_item + .order-product__detail-view_params_item {
    margin-top: 0;
  }
}
@media (min-width: 768px) {
  .order-product__detail-view_params_item {
    grid-template-columns: 1.2fr 0.6fr 0.2fr 0.6fr 0.8fr 0.9fr 30px;
    grid-template-areas: ". . wires article article status status";
    gap: 20px;
    padding-block: 10px;
  }
}
.order-product__detail-view_param.wires {
  grid-area: wires;
}
.order-product__detail-view_param.wires .order-product__detail-wires span {
  font-size: 14px;
}
@media (min-width: 768px) {
  .order-product__detail-view_param.wires .order-product__detail-wires span {
    font-size: 16px;
  }
}
.order-product__detail-view_param.track {
  grid-area: article;
}
.order-product__detail-view_param.status {
  grid-area: status;
}
.order-product__param {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2px;
  padding-block: 6px;
}
@media (min-width: 768px) {
  .order-product__param {
    align-items: center;
    gap: 0;
    padding-block: 0;
  }
}
.order-product__param_name {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.26;
  color: #636363;
}
@media (min-width: 768px) {
  .order-product__param_name {
    display: none;
  }
}
.order-product__param_separator {
  border: 1px dashed #c6c6c6;
  margin-bottom: 4px;
  flex: 1;
}
@media (min-width: 768px) {
  .order-product__param_separator {
    display: none;
  }
}
.order-product__param_value {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.26;
  color: #3f4041;
}
.order-product__param.info {
  grid-area: info;
  padding-block: 0;
  margin-bottom: 8px;
}
@media (min-width: 768px) {
  .order-product__param.info {
    margin-bottom: 0;
  }
}
.order-product__param.price {
  grid-area: price;
}
.order-product__param.price .order-product__param_value {
  font-weight: 600;
}
.order-product__param.wires {
  grid-area: wires;
  margin-top: 5px;
}
@media (min-width: 768px) {
  .order-product__param.wires {
    margin-top: 0;
  }
}
.order-product__param.length {
  grid-area: length;
}
.order-product__param.sum {
  grid-area: sum;
}
.order-product__param.sum .order-product__param_value {
  font-weight: 600;
}
.order-product__param.status {
  grid-area: status;
  justify-self: flex-end;
}
@media (min-width: 768px) {
  .order-product__param.status {
    justify-self: flex-start;
  }
}
.order-product__param.article {
  grid-area: article;
}
.order-product__param.control {
  grid-area: control;
  position: absolute;
  left: 0;
  bottom: 16px;
  padding: 0;
}
@media (min-width: 768px) {
  .order-product__param.control {
    position: relative;
    left: auto;
    bottom: auto;
  }
}
.order-product__name {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.36;
  color: #3f4041;
}
.order-product__detail-track {
  display: flex;
  align-items: center;
  gap: 8px;
}
.order-product__detail-track > span {
  display: none;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .order-product__detail-track > span {
    display: block;
  }
}
.order-product__detail-track .order-product__detail-track_value {
  font-size: 14px;
}
@media (min-width: 768px) {
  .order-product__detail-track .order-product__detail-track_value {
    font-size: 16px;
  }
}
.order-product__detail-track .article__data::before {
  background-color: #eaeaea;
}
.order-product__button {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}
.order-product__button span {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  background-color: #f6f6f6;
  width: 28px;
  height: 28px;
}
.order-product__button span svg {
  width: 14px;
  height: 14px;
  color: #262627;
  transition: transform 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
.order-product__button p {
  font-weight: 400;
  color: #ff7100;
  font-size: 14px;
  line-height: 1.36;
}
@media (min-width: 768px) {
  .order-product__button p {
    display: none;
  }
}