@media (min-width: 560px) {
  #date-label .open p {
    text-align: center;
    padding: 0 15px;
  }

  .categories-block {
    margin-top: 100px;
    margin-bottom: 0;
  }

  .categories-block:first-of-type {
    margin-top: 40px;
    align-items: center;
  }

  .categories-block ~ .terms-block {
    margin: 100px 0 50px;
  }

  .categories-block {
    display: flex;
    flex-flow: row wrap;
    align-items: baseline;
  }

  .categories-block > h3 {
    width: 65%;
  }

  .categories-block > h3 ~ .pull-right {
    width: 35%;
    text-align: right;
  }

  .categories-block > h3 ~ .pull-right a {
    color: #3b70ad;
  }

  .flex-row.flex-wrap {
    padding: 20px 0 0;
    width: 100%;
  }

  .categories-block .block.block-view-3-col:nth-of-type(4n + 5),
  .categories-block .block.block-view-3-col:first-of-type {
    margin: 0 20px 70px 0 !important;
  }

  .block.block-view-3-col:nth-of-type(n + 2) {
    margin: 0 20px 70px !important;
  }

  .categories-block .block.block-view-3-col:nth-of-type(4n + 4) {
    margin: 0 0 70px 20px !important;
  }

  .categories-block .block.block-view-3-col {
    width: calc(25% - 30px) !important;
    max-width: unset !important;
  }
  .main-banner .desktop-only img {
    min-width: 1920px;
    width: 1920px;
  }
}

.bonus-wrapper.shown {
  display: block !important;
}
.categories-block h4 {
  width: 100%;
}
.loan_text {
  font-style: normal;
  font-weight: normal !important;
  color: #9a9a9a;
}

.loan_text .border-loan {
  background: none;
  color: #000;
  padding: 3px 7px;
  border: 2px solid #ffe5a0;
}

.loan_text .border-loan span {
  color: #000;
}

.rassrochka .loan_text {
  font-style: normal;
  font-weight: 700 !important;
  color: red;
}

.rassrochka .loan_text .border-loan {
  background: red;
  color: #fff;
  padding: 3px 7px;
  border: 2px solid red;
}

.rassrochka .loan_text .border-loan span {
  color: #fff;
}

.categories-block:not(.rassrochka) .loan {
  order: 0;
}
#date-label p.desktop-only {
  text-align: center;
}
@media (max-width: 560px) {
  .block-view-3-col .bottom-content .price-block .price {
    margin-right: 10px !important;
    font-size: 17px !important;
    -webkit-align-items: baseline !important;
    min-width: 100% !important;
  }
  .block-view-3-col .bottom-content .title {
    font-size: 13px !important;
    line-height: 120% !important;
  }
  .categories-block:not(.rassrochka) .loan.mobile-only p {
    font-size: 12px;
  }
  .loan_text .border-loan {
    font-size: 12px;
  }
  .block-view-3-col .bottom-content .price-block .difference.mobile {
    display: block;
    font-weight: bold;
    font-size: 12px;
    line-height: 14px;
    padding: 3px 6px 2px;
    white-space: nowrap;
  }
  .block-view-3-col .bottom-content .price-block .old-price {
    font-size: 12px;
    font-weight: 500;
    line-height: 14px;
  }
  .block-view-3-col .bottom-content .price-block .currency-icon {
    font-size: 90% !important;
  }
  .categories-block .block.block-view-3-col:nth-child(2n) {
    margin: 0 0 10px 5px !important;
  }

  .categories-block .block.block-view-3-col:nth-child(odd) {
    margin: 0 5px 10px 0 !important;
  }

  .categories-block {
    padding: 20px 10px 0;
  }

  .btn-category.mobile-only {
    text-align: center;
    width: 100%;
    border: 2px solid red;
    padding: 12px 20px;
    border-radius: 5px;
    color: red;
    transition: all 0.3s ease;
  }

  .btn-category.mobile-only:hover {
    background: red;
    color: white;
  }

  .categories-block .flex-row.flex-wrap {
    margin-bottom: 10px;
  }

  .categories-block .flex-row.flex-wrap .block.block-view-3-col {
    height: auto;
  }

  .block-view-3-col .bottom-content .price-block .price {
    margin-right: 10px;
  }

  .categories-block:not(.rassrochka) .loan.mobile-only {
    margin: 10px 0 3px;
  }
}
/*              Gifts area                  */

.gifts {
  z-index: 36;
  position: absolute;
  max-width: 84px;
  border-radius: 6px 0 6px 0;
  box-shadow: 5px 0px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.gifts .gift-name,
.gifts .gift-price {
  display: none;
}
.gifts .gift-title {
  background: #ee3939;
  color: white;
  text-align: center;
  padding: 4px 15px;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  line-height: 15px;
}
.gifts .gift-img img {
  max-width: 100%;
  min-height: unset;
}
.gifts .gift-wrapper {
  display: flex;
  -webkit-flex-flow: row nowrap;
  -webkit-align-items: center;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 6px;
}
.gifts .gift-img img {
  border-radius: 15px 0px 0px 15px;
  max-width: 100%;
  width: 100%;
}
.gifts .gift-wrapper .gift-img {
  min-width: 110px;
}
.gifts .gift-desc {
  padding: 20px 20px 20px 15px;
  width: 100%;
  display: flex;
  -webkit-flex-flow: column;
}
.gifts .gift-title {
  font-weight: 700;
  font-size: 13px;
  line-height: 15px;
  color: #ffffff;
  padding: 3px 9px;
  background: #ee3939;
  border-radius: 6px;
  position: relative;
  float: left;
  align-self: start;
  width: 100%;
  border-radius: 0;
}
.gifts .gift-name {
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  margin: 10px 0;
}
.gifts .gift-link a {
  font-weight: 400;
  font-size: 13px;
  line-height: 130%;
  color: #ff0000;
}
@media (max-width: 560px) {
  .gifts {
    max-width: 61px;
    pointer-events: none;
  }
  .gifts .gift-title {
    font-weight: 700;
    font-size: 10px;
    line-height: 12px;
    padding: 3px 10px;
  }
  .gifts .gift-wrapper {
    border-radius: 15px;
  }
  .gifts .gift-title {
    font-weight: 700;
    font-size: 11px;
    line-height: 15px;
  }
  .gifts .gift-name {
    margin: 7px 0;
  }
  .gifts .gift-desc {
    padding: 15px 20px 15px 15px;
  }
}
