.items_page {
  padding: 6px;
}

.items_page .games-content {
  display: flex;
}

.item-list {
  width: 20%;
  color: #252525;
  float: left;
  text-align: center;
  position: relative;
  transition: .3s;
}

.price_htb {
    display: inline-block;
    padding: 6px;
    margin: 6px;
    color: #ffffff;
    border: 1px solid #ffb50e;
}

.item-preview {
    display: block;
    margin: 5px;
    padding: 20px;
    overflow: hidden;
    transition: .3s;
    position: relative;
    border: 1px solid #3c3c3c;
    background: rgb(92 99 106 / 29%);
    background-image: url(/en/img/item.webp);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
}

.item-preview:hover {
    position: relative;
    z-index: 1;
    border-color: #ffcc57;
}

.item-img {
  overflow: hidden;
  position: relative;
  height: 140px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: .3s;
}

.item-img.outfits {
    background-size: contain;
}

.item-top.lvl7:before , .item-top.lvl5:before , .item-top.lvl3:before {
    content: '';
    background-image: url(/en/img/lol.webp);
    display: inline-block;
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    top: 0;
    right: 0;
    width: 18px;
    height: 18px;
    transition: .3s;
}

.item-img.c2 {
  background-color: #dedede;
}

.item-top {
  position: relative;
  text-align: center;
}

.item-name {
    display: flex;
    padding: 0 1%;
    height: 44px;
    line-height: 40px;
    text-align: center;
    align-items: center;
    transition: .3s;
    z-index: 3;
    border: 1px solid #ffb50e;
}

.item-name-title {
    color: #feab02;
    font-size: 15px;
    line-height: 15px;
    font-weight: bold;
    margin: 0 auto;
}

@keyframes fly {
  50% {
    transform: scale(1.05);
  }
}

.bottom-item {
  position: relative;
  transition: .3s;
  z-index: 2;
}

.item-discount {
    display: inline-block;
    float: left;
    width: 25%;
    height: 30px;
    font-size: 16px;
    color: #ffffff;
    border: solid 1px #a2a2a2;
    line-height: 30px;
    transition: .5s;
}

.price-cont {
  height: 40px;
  padding-top: 10px;
}

.item-price-cont {
    display: inline-block;
    float: left;
    width: 48%;
    font-size: 21px;
    height: 30px;
    line-height: 30px;
    font-weight: bold;
    color: #ffffff;
    text-align: left;
}

.item-old_tab {
    display: inline-block;
    float: left;
    width: 27%;
    font-size: 14px;
    line-height: 30px;
    font-weight: bold;
    padding-right: 7px;
    color: #b3b3b3;
    text-align: right;
    text-decoration: line-through;
}

.item-preview:hover .item-discount {
    background: #f2a900;
    border-color: #ffcc57;
    color: #000;
}

.hidden-items {
  opacity: 0;
  transform: translateY(20px);
  display: block !important;
  height: 0;
  overflow: hidden;
}
.item-list:not(.hidden-items) {
  opacity: 1;
  transform: translateY(0);
  height: auto;
}

.rarity-item {
    line-height: 14px;
    height: 14px;
    font-size: 14px;
    padding-top: 5px;
}
.rarity-item.Mythical { color: #8847ff; }
.rarity-item.Immortal { color: #b37a00; }
.rarity-item.Arcana { color: #6db900; }
.rarity-item.Common { color: #6b8ab1; }
.rarity-item.Rare { color: #4b69ff; }
.rarity-item.Legendary { color: #8b1d98; }
.rarity-item.NO, .rarity_pre-item.NO { opacity: 0; }

.rarity_pre-item {
    display: inline-block;
    float: left;
    font-size: 15px;
    padding: 5px 10px;
    border: 1px solid #e6e6e6;
}
.rarity_pre-item.Mythical { color: #8847ff; }
.rarity_pre-item.Immortal { color: #b37a00; }
.rarity_pre-item.Arcana { color: #6db900; }
.rarity_pre-item.Common { color: #6b8ab1; }
.rarity_pre-item.Rare { color: #4b69ff; }
.rarity_pre-item.Legendary { color: #8b1d98; }

.item-img:before {
    content: '';
    display: inline-block;
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    top: 0;
    right: 0;
    width: 38px;
    height: 38px;
    opacity: 0.5;
    margin: 6px;
    transition: .3s;
}
.item-img.c193:before { background-image: url(/en/img/lol.webp); }
.item-img.c194:before { background-image: url(/en/img/lol.webp); }
.item-preview:hover .item-img:before { opacity: 1; }

.items_page .item-price-cont {
    float: none;
    line-height: 7px;
    font-size: 20px;
    width: 75%;
    text-align: right;
}
.items_page .item-old_tab {
    float: none;
    line-height: 20px;
    font-size: 12px;
    width: 75%;
    margin-top: -4px;
}

.load-more-container { text-align: center; margin: 25px 0; }
.load-more-btn {
    display: inline-block; padding: 12px 30px; background: #2a2a2a;
    color: #fff !important; border: 1px solid #3a3a3a; border-radius: 6px;
    font-size: 14px; font-weight: 700; text-decoration: none !important;
    cursor: pointer; transition: background 0.3s ease, border-color 0.3s ease;
}
.load-more-btn:hover { background: #3a3a3a; border-color: #4a4a4a; color: #fff !important; }

/* Адаптив */
@media (min-width: 1450px) { .item-list { width: 16.66%; } }
@media (max-width: 1400px) { .items_page .item-img { height: 110px; } }
@media (max-width: 1220px) {
  .item-list { width: 25%; }
  .items_page .item-img { height: 100px; }
  .items_page .item-preview { padding: 10px; }
}
.items_page .item-preview { padding: 10px; }
@media (min-width: 800px) and (max-width: 1160px) {
  .items_page .item-img { height: 90px; }
}
@media (min-width: 800px) and (max-width: 1100px) {
  .items_page .games-content { display: inline-block; }
  .items_page .item-preview { padding: 20px; }
  .items_page .item-img { height: 120px; }
}
@media (max-width: 1000px) {
  .item-list { width: 33.33%; }
}
@media (max-width: 800px) {
  .items_page .games-content { display: inline-block; }
  .item-img { height: 130px; }
  .item-name-title { font-size: 15px; line-height: 14px; }
  .item-preview { padding: 10px; }
  .item-old_tab { float: none; line-height: 20px; font-size: 12px; width: 75%; margin-top: -4px; }
  .item-price-cont { float: none; line-height: 7px; font-size: 22px; width: 75%; text-align: right; }
}
@media screen and (max-width: 650px) { .item-list { width: 50%; } }
@media (max-width: 500px) {
  .item-img { height: 120px; }
  .item-discount { font-size: 14px; }
  .item-name-title { font-size: 13px; line-height: 12px; }
}
@media (max-width: 420px) {
  .item-img { height: 110px; }
  .item-discount { font-size: 13px; }
}