@charset "UTF-8";

/*Переменные*/

/*Миксины*/

/* Бокове меню */

.lk__aside {
  position: sticky;
  top: 60px;
  padding-right: 20px;
}

.lk__info {
  padding: 10px;
  border: 1px solid #CFD4EA;
  border-radius: 16px;
}

.lk__title {
  padding: 10px 10px 20px;
}

.lk__item {
  padding: 10px;
  text-decoration: none;
  border-radius: 8px;
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
}

.lk__item.active {
  background: #F1F1F1;
  color: #4532AD;
}

.lk__item:hover {
  color: #4532AD;
}

.lk__item svg {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.lk__item--exit {
  padding: 20px;
  border-radius: 16px;
  margin-top: 20px;
}

/* Контент страницы */

/* Фильтр */

.filter-radio {
  cursor: pointer;
  margin-bottom: 20px;
}

.filter-radio input {
  display: none;
}

.filter-radio input:checked ~ span {
  font-weight: 600;
  color: #4532AD;
}

.filter-radio span {
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
}

.filter-radio:hover {
  color: #4532AD;
}

/* Заказы */

.order-list.load {
  opacity: 0;
}

.order-list .search {
  margin-right: 0;
}

.order-list .spoiler {
  margin: 0;
}

.order {
  padding: 10px;
  border: 1px solid #CFD4EA;
  border-radius: 16px;
}

.order__top {
  padding: 15px 10px;
  border-radius: 8px;
  -webkit-box-align: unset;
      -ms-flex-align: unset;
          align-items: unset;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.order__left {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.order__id {
  cursor: pointer;
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
}

.order__id:hover {
  color: #4532AD;
}

.order__right {
  width: 290px;
}

.order__right--save {
  gap: 5px 10px;
}

.order__product-count {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.order__product-price {
  margin-left: auto;
}

.order__product-buy {
  margin-left: 10px;
  width: 22px;
  height: 22px;
}

.order__middle {
  padding: 20px 10px 0;
}

.order__delivery {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.order__porduts-ico-list {
  width: 290px;
}

.order__porduts-ico {
  width: 80px;
  height: 80px;
  position: relative;
  border: 1px solid #CFD4EA;
  border-radius: 8px;
}

.order__porduts-ico:nth-child(3) ~ .order__porduts-ico {
  display: none;
}

.order__porduts-ico.ico-count {
  background: #F4F6F9;
}

.order__porduts-ico.ico-count .fit-image {
  display: none;
}

.overflow-count {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.order__big {
  display: none;
}

.order__product {
  display: -ms-grid;
  display: grid;
      grid-template-areas: "A B C";
  -ms-grid-columns: 80px auto 290px;
  grid-template-columns: 80px auto 290px;
  padding: 20px 10px;
  border-bottom: 1px solid #CFD4EA;
  text-decoration: none;
}

.order__product__image {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: A;
  position: relative;
  height: 80px;
  max-height: 80px;
  border-radius: 8px;
  border: 1px solid #CFD4EA;
}

.order__product__title {
  -ms-grid-row: 1;
  -ms-grid-column: 2;
  grid-area: B;
}

.order__product__info {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
  grid-area: C;
}

div.order__product {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.order__bottom {
  margin-top: 20px;
  margin-bottom: 10px;
}

.order-open {
  margin-left: auto;
  cursor: pointer;
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
}

.order-open:hover {
  color: #4532AD;
}

.order-open.open img {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
}

.order-open.open .to-show {
  display: none;
}

.order-open.open .to-hide {
  display: block;
}

.order-open .to-hide {
  display: none;
}

.magazin-filter {
  margin-bottom: 10px;
}

.magazin-filter .jq-selectbox__select {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  min-height: unset;
  background: none;
  padding: 10px 40px 10px 10px;
  font-size: 16px;
  border: none;
  border-radius: 0;
  margin-top: -10px;
}

.magazin-filter .jq-selectbox__select-text {
  width: 100%;
}

.magazin-filter .jq-selectbox__dropdown {
  min-width: auto;
}

.magazin-section {
  margin-bottom: 10px;
}

.magazin-section:last-child {
  margin-bottom: 0;
}

.magazin-title {
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.magazin-item {
  padding: 10px;
  border-bottom: 1px solid #CFD4EA;
}

.magazin-item--hide,
.magazin-item__spoiler--hide,
.magazin-section--hide {
  display: none !important;
}

.magazin-item:last-child {
  border: none;
}

.magazin-item__name {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.magazin-item__code {
  width: 100px;
}

.magazin-item__price-1 {
  width: 140px;
}

.magazin-item__price-2 {
  width: 100px;
}

.magazin-item__count {
  width: 100px;
}

.magazin-item__br {
  display: none;
}

.profil-form {
  width: 660px;
  max-width: 100%;
  margin-bottom: 40px;
}

.profil-form:last-child {
  margin-bottom: 0;
}

.lk-save-button {
  display: none;
}

.lk-save-button:disabled {
  color: #242473;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  gap: 10px;
}

.lk-save-button:disabled::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  background: url("../img/icons/suc.svg") center center/cover no-repeat;
}

.lk-change-item {
  width: 100%;
}

.lk-change-item__title {
  margin-bottom: 15px;
}

.lk-change-item__button {
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
  cursor: pointer;
}

.lk-change-item__button:hover {
  color: #4141D0;
}

@media (max-width: 1440px) {
  .magazin-item__price-1 {
    width: 120px;
  }

  .magazin-item__price-2 {
    width: 80px;
  }
}

@media (max-width: 1260px) {
  .lk__aside {
    position: relative;
    top: 0;
    width: 100%;
    margin-bottom: 40px;
  }

  .lk__menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }

  .lk__item:last-child {
    margin-left: auto;
  }

  .lk__content {
    width: 100%;
  }

  .order__right {
    width: 274px;
  }

  .order__porduts-ico-list {
    width: 274px;
    gap: 15px;
  }

  .order__product {
    -ms-grid-columns: 80px auto 274px;
    grid-template-columns: 80px auto 274px;
  }
}

@media (max-width: 1010px) {
  .lk__aside {
    display: none;
  }

  .order-list .search {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
  }

  .order__status {
    width: 100%;
  }

  .order__right {
    width: 200px;
  }

  .order__product-buy {
    margin-left: 0;
  }

  .order__porduts-ico-list {
    width: 200px;
    gap: 20px;
  }

  .order__porduts-ico:nth-child(2) ~ .order__porduts-ico {
    display: none;
  }

  .order__product {
    -ms-grid-columns: 80px auto 200px;
    grid-template-columns: 80px auto 200px;
  }

  .magazin-item {
    gap: 5px 20px;
  }

  .magazin-item__code {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    text-align: right;
  }

  .magazin-item__price-1 {
    width: calc((100% + 20px) / 3 - 20px);
  }

  .magazin-item__price-2 {
    width: calc((100% + 20px) / 3 - 20px);
  }

  .magazin-item__count {
    width: calc((100% + 20px) / 3 - 20px);
    text-align: right;
  }

  .magazin-item__br {
    display: block;
    width: 100%;
  }
}

@media (max-width: 680px) {
  .filter-radio {
    margin-bottom: 10px;
  }

  .order {
    padding: 5px;
    border-radius: 12px;
  }

  .order__top {
    padding: 10px 5px;
    border-radius: 6px;
  }

  .order__right {
    width: -webkit-min-content;
    width: -moz-min-content;
    width: min-content;
  }

  .order__right span,
  .order__right b {
    display: block;
    width: 100%;
    white-space: nowrap;
  }

  .order__right b {
    -ms-flex-item-align: end;
        align-self: flex-end;
  }

  .order__right--save {
    -webkit-box-pack: right;
        -ms-flex-pack: right;
            justify-content: right;
    min-width: 100px;
    text-align: right;
  }

  .order__product-price {
    display: inline-block !important;
    width: auto !important;
  }

  .order__middle {
    padding: 10px 5px 0;
  }

  .order__delivery {
    -webkit-box-flex: unset;
        -ms-flex: unset;
            flex: unset;
    width: 100%;
  }

  .order__porduts-ico-list {
    display: none;
  }

  .order__product {
    padding: 10px 5px;
        grid-template-areas: "A B" "A C";
    -ms-grid-columns: 80px auto;
    grid-template-columns: 80px auto;
    -ms-grid-rows: auto 1fr;
    grid-template-rows: auto 1fr;
    min-height: 80px;
  }

  .order__bottom {
    margin-top: 10px;
  }

  .order-cancel {
    width: 100%;
  }

  .magazin-filter {
    margin-bottom: 5px;
  }

  .magazin-filter .jq-selectbox__select {
    padding-left: 5px;
  }

  .magazin-section {
    margin-bottom: 4px;
  }

  .magazin-title {
    padding: 5px;
  }

  .magazin-item {
    gap: 5px 10px;
    padding: 10px 5px;
  }

  .magazin-item__price-1 {
    width: calc((100% + 10px) / 3 - 10px);
  }

  .magazin-item__price-2 {
    width: calc((100% + 10px) / 3 - 10px);
    text-align: center;
  }

  .magazin-item__count {
    width: calc((100% + 10px) / 3 - 10px);
  }

  .lk-change-item__title {
    margin-bottom: 7px;
  }

  .order__product__image {
    -ms-grid-row: 1;
    -ms-grid-row-span: 2;
    -ms-grid-column: 1;
  }

  .order__product__title {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
  }

  .order__product__info {
    -ms-grid-row: 2;
    -ms-grid-column: 2;
  }
}