/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/

/* Examples (uncomment to use):*/

/* Expand site width */
/* body .wrapper { max-width: 1400px !important;  } */

/* Set site background image */
/* body {  background: url(image_source) top no-repeat; }

/* Hide compare button */
/* a.compare_item { display: none !important;  }*/

.basket_wrap .description .props,
.basket-item-block-properties {
  display: none;
}

.brandsdetail .info-wrap {
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-column-gap: 30px;
}

.brandsdetail .info-wrap img {
  max-width: 250px;
  padding-bottom: 30px;
}

/* mobile */
@media (max-width: 767px) {
  .brandsdetail .info-wrap {
    display: grid;
    grid-template-columns: 1fr;
    grid-row-gap: 30px;
  }

  .brandsdetail .info-wrap img {
    width: 100%;
  }
}

/*
Custom styles for table view catalog
*/
.table-view .item-info .item-title {
  font-weight: bold;
  max-height: 50px;
  display: block;
  overflow: hidden;
}
.table-view  .item-info .prop-wrap {
  display: grid;
  grid-template-columns: 3fr 3fr;
  column-gap: 20px;
  margin-top: 5px;
}
.table-view  .item-info .prop {
  font-weight: 500;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.05em;
  color: #999999;
}
.table-view .item-info .prop span {
  font-weight: normal;
}
.table-view .item-actions .item-stock {
  white-space: unset;
}
.table-view .item-actions .item-stock .value{
  max-width: 85%;
  font-size: 14px;
}
.table-view .item-actions .item-stock .info {
  font-size: 14px;
  display: block;
  color: #999999;
  margin-left: 18px;
  margin-top: 3px;
}
.table-view .item-actions .item-price {
  width: auto;
  padding: 0;
}
.table-view .item-actions .item-price .quantity_value,
.catalog_block .quantity_value {
  font-size: 12px;
  font-weight: normal;
  display: block;
  color: #999999;
  line-height: 12px;
  margin-left: 0px;
}
.table-view .item-actions .item-buttons {
  width: auto;
  max-width: unset;
}
.table-view .no-quantity  .button_block {
  float: right;
}
.table-view .no-quantity .btn {
  width: 100%;
  padding-left: 4px;
  padding-right: 4px;
}
.table-view .item-icons.s_1 {
  width: unset;
  padding: 0;
}
.catalog_block .sa_block {
  display: grid;
  grid-template-columns: 2.5fr 3fr;
  row-gap: 10px;
}
.catalog_block .brand_block {
  text-align: right;
}

/* GRID */
.table-view__item-wrapper {
  display: grid;
  grid-template-columns: 2fr 3fr;
  column-gap: 10px;
}
.with-opt-buy .table-view__item-wrapper {
  display: grid;
  grid-template-columns: 2fr 3fr;
  column-gap: 10px;
}
.table-view .item-static {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
}
.table-view .item-actions {
  display: grid;
  grid-template-columns: 3fr 2fr 4fr auto;
  column-gap: 10px;
  align-items: center;
  width: unset;
}
@media (max-width: 1200px) {
  .table-view__item-wrapper {
    grid-template-columns: 1fr;
    grid-row-gap: 20px;
  }
  .with-opt-buy .table-view__item-wrapper {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
  .table-view .item-static {
    grid-template-columns: 1fr 3fr;
    column-gap: 20px;
  }
  .item-foto__picture {
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }
  .table-view .table-view__item-wrapper .counter_wrapp {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 5px;
    width: 100%;
  }
  .table-view .table-view__item-wrapper .item-actions > div,
  body .table-view .item-buttons .counter_wrapp.list > div {
    padding: 0;
    margin: 0;
  }
}
@media (max-width: 600px) {
  body .table-view .item .item_info.catalog-adaptive > div {
    padding: 0;
  }
  .table-view .item-foto__picture {
    width: 80px;
    height: 80px;
    line-height: unset;
  }
  body .table-view .item .item_info.catalog-adaptive {
    display: grid;
  }
  .like_icons:not(.static) {
    right: unset;
    left: -15px;
    top: -25px
  }
  .table-view .item-info .prop-wrap {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .table-view .item-actions {
    grid-template-columns: 1fr 1fr;
    column-gap: 10px;
    row-gap: 20px;
  }
  .table-view .item-actions .item-price {
    text-align-last: left;
  }
  .table-view .item-actions .item-buttons {
    grid-column-start: span 2;
  }
  body .table-view .item .item_info.catalog-adaptive .counter_wrapp.list {
    margin: 0;
    padding: 0;
  }
  body .table-view .item .item_info.catalog-adaptive .counter_wrapp.list > div:not(.total_summ) {
    width: 100%;
  }
  body .table-view .item .item_info.catalog-adaptive .counter_wrapp.list .counter_block,
  body .table-view .item .item_info.catalog-adaptive .counter_block:not(.big) input[type="text"] {
    height: 40px;
  }
  body .table-view .item .item_info.catalog-adaptive .counter_wrapp.list .btn {
    padding: 11px 0;
  }
  .table-view .table-view__item-wrapper .no-quantity .counter_wrapp {
    grid-template-columns: 1fr;
  }

  .popup {
    width: 90%;
  }
}