.shop-container {
	display: grid;
    width: 100%;
    max-width: 920px;
	margin: 5px auto;
}

.shop-avatar {
  position: relative;
  background: #fff;
  display: grid;
  align-items: center;
  justify-content: center;
  height: 270px;
  width: 270px;
  border-radius: 25px;
  overflow: hidden;
  display: none;
}

.shop-point {
	display: none;
}

.clothing-preview-block.shop-avatar {
	display: block;
  color:#589c48;
}

.shop-avatar > img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

button.point-button {
  background: none;
  border: none;
  box-shadow: none;
  color: #ffd849;
  width: 100%;
  font-size: 34px;
}

.shop-menu {
  display: flex;
  gap: 10px;
  color: #4a3050;
  justify-content: space-between;
}

.shop-menu-items {
	display: flex;
	gap: 10px;
	margin-right: 5px;
}

.shop-menu-item {
  font-size: 0px;
  cursor: pointer;
}


.shop-item-price > span {
	font-size: 64px;
}

.shop-item-price {
	font-size: 42px;
	color: #ffd849;
	display: grid;
	grid-template-columns: 50px 1fr;
	align-items: center;
	text-align: left;
	gap: 5px;
}

.shop-menu-button {
  border: none;
  padding: 5px;
  background: #ffd849;
  color: #4a3050;
  border-radius: 15px;
  box-shadow: 5px 5px #733381;
  font-size: 32px;
  white-space: nowrap;
  height: 60px;
  line-height: 34px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.shop-right-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 0;
  padding-top: 10px;
}

.shop-panel {
  background: #ffd849;
  border-radius: 15px;
  box-shadow: 5px 5px #733381;
  font-size: 48px;
  text-align: center;
  width: 150px;
}

.shop-menu-button:hover {
  background: #733381;
}
.shop-menu-button:focus {
  background: #7bb662;
}

.shop-exit {
	text-align: right;
}


.shop-exit > a {
  background: #ffd849;
  border-radius: 15px;
  box-shadow: 5px 5px #733381;
  font-size: 48px;
  text-align: center;
  text-decoration: none;
  color: #4a3050;
  width: 150px;
  margin: 15px;
  padding:10px;

}

.shop-time {
  padding: 10px 20px;
  background: #ffd849;
  border-radius: 15px;
  box-shadow: 5px 5px #733381;
  font-size: 31px;
  height: 65px;
  text-align: center;
  line-height: 24px;
}

.shop-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  padding: 10px;
}

.shop-item {
  padding: 20px;
  color: #ffd849;
  text-align: center;
  cursor: pointer;
  max-height: 240px;
}

.shop-item:hover {
  border-radius: 10px;
  background-color: #232424;
}

#clothingPreviewPopup {
  height: 360px;
}

.clothing-preview-item-content {
  grid-template-columns: 1fr;
  padding: 30px;
}

#previewClothingBlock {
  background-color: #fff;
  margin: 0 auto;
}

.left-content {
  display: grid;
  justify-content: center;
  align-items: center;
}

.equipped-item-content,
.drink-buy-item-content,
.item-popup-content {
	display: grid;
	grid-template-columns: 150px 1fr;
	width: 90%;
	margin: 0 auto;
	gap: 5px;
	justify-content: center;
	align-items: center;
	padding: 10px 10px;
}

.equipped-item-content {
  width: 0;
  gap: 0;
}

.drink-buy-item-content {
    display: grid;
    grid-template-columns: 150px 1fr;
}

.equip-total-wallet {
    display: grid;
    grid-template-columns: 75px 1fr;
}

.item-quantity-value {
  background: #fbd095;
  color: #4a3050;
  padding: 0px 25px;
  height: 35px;
}

.popup-section-quantity {
  height: 50px;
  display: none;
}

.item-quantity-arrows {
  display: grid;
}

.item-quantity-arrows > button {
  height: 25px;
  width: 25px;
  background: none;
  position: relative;
  border: none;
}

.right-content {
  font-size: 28px;
  display: grid;
  row-gap: 10px;
}

#drinkBuyPopup {
	/* display: block; */
}

.shop-item-image  {
}

.shop-item-image > div {
  position: relative;
  height: 120px;
}

.shop-item-image > div > img {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  width: 132px;
}

.item-avatar-icon {
  display: none;
}

.color-white {
  color: white;
}

.item-cant-afford {
  background: #313131;
  opacity: 0.6;
}

.show {
  display: block;
}

.user-main-avatar {
	z-index: 1;
}

/* Arrows */
.arrow {
  border: solid #4a3050;
  border-width: 0 5px 5px 0;
  display: inline-block;
  padding: 5px;
  position: absolute;
  top: 3px;
  left: 3px;
}

.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

#equippedRemovePopupItemImage {
	width: 200px;
}

.equip-content-grid {
	display: grid;
	grid-template-columns: 150px 1fr;
}

/* \ Arrows */

/* Sidebar Heart Bar */
.heart-bar-section {
	position: relative;
	width: 194px;
}

.heart-bar-items {
	display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: absolute;
    top: 0px;
    left: 0px;
	gap: 5px;
}

.empty-heart-bar {
	position: absolute;
}

.heart-item {
	position: relative;
	width: 35px;
	height: 35px;
}

.heart-item > img {
	position: absolute;
}

.animation-heart {
	width: 60px;
    left: 50%;
    top: calc(50% - 2px);
    transform: translate(-50%, -50%);
}
/* \ Heart Bar */

@media only screen and (max-width: 600px) {
  .shop-container {
    grid-template-columns: 1fr;
  }

  .shop-menu {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .shop-avatar {
    margin: 0 auto;
  }

  .shop-avatar > img {
  width: 100%;
  height: auto;
  display: block;
}


  .shop-item-image {
    height: 140px;
  }
}

/* custom scrollbar */

::-webkit-scrollbar {
  width: 20px;
}

::-webkit-scrollbar-track {
  background-color: #733381;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background-color: #ffd849;
  border-radius: 20px;
  border: 6px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #a8bbbf;
}

.disabled-shop img {
  cursor: not-allowed;
  opacity: 0.3;
}

.inactive-shop {
  opacity: 0.7;
}

.shake {
  animation: shake 3.8s ease infinite;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes shake {
  0% { transform:translate(0,0) }
  1.78571% { transform:translate(5px,0) }
  3.57143% { transform:translate(0,0) }
  5.35714% { transform:translate(5px,0) }
  7.14286% { transform:translate(0,0) }
  8.92857% { transform:translate(5px,0) }
  10.71429% { transform:translate(0,0) }
  100% { transform:translate(0,0) }
}

#banner img {
  margin-top: 6px;
  width: 400px;
  border-radius: 15px;
  border-bottom: 5px #733381 solid;
  border-right: 5px #733381 solid;
}

@media (max-width: 800px) {
  #banner img {
    width: 60%;
  }
}


.no-items {
  color: white;
  font-size: 22px;
}


/* Gallery Start */
#shopItemsBlock .shop-avatar {
  position: relative;
  background: #fff;
  display: grid;
  align-items: center;
  justify-content: center;
  height: 200px;
  width: 200px;
  border-radius: 25px;
  overflow: hidden;
}

#shopItemsBlock .zoom-avatar-icon {
  position: absolute;
  width: 40px;
  height: 40px;
  background: #ffd84a;
  top: 0px;
  right: 0px;
  display: grid;
  justify-content: center;
  align-items: center;
  border-radius: 0px 0px 0px 25px;
  box-shadow: 0 0 10px #6a470e;
  z-index: 99;
  cursor: pointer;
}

#shopItemsBlock .gallery-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#shopItemsBlock .gallery-item {
  flex: 0 0 calc(25% - 10px);
  box-sizing: border-box;
  background: #414141;
  border-radius: 5px;
  padding: 10px;
  color: #fff;
}

#shopItemsBlock .user-avatar-image {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

#shopItemsBlock .user-avatar-image > img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#shopItemsBlock .user-main-avatar {
  z-index: 1;
  cursor: pointer;
}

#avatarPreviewPopup {
  background: #ffd849;
  position: fixed;
  width: 480px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 15px;
  box-shadow: 5px 5px #733381;
  padding: 10px;
  z-index: 9999;
  display: none;
}

#avatarPreviewPopup .popup-item-content {
  grid-template-columns: 1fr;
  padding: 30px;
}

#avatarPreviewPopup .square {
  position: relative;
  width: 100%;
}

#avatarPreviewPopup .square:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

#avatarPreviewPopup .clothing-preview-block {
  position: absolute;
  width: 100% !important;
  height: 100% !important;
}

#avatarPreviewPopup #previewAvatarBlockAchievements,
#avatarPreviewPopup #previewAvatarBlock {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

#avatarPreviewPopup #previewAvatarBlockAchievements > img,
#avatarPreviewPopup #previewAvatarBlock > img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#avatarPreviewPopup .close-popup {
  position: absolute;
  right: 20px;
  cursor: pointer;
  font-size: 24px;
}

#class-gallery-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 400px;
  margin: 0 auto;
  background: #fed849;
  border-bottom: 5px #733381 solid;
  border-right: 5px #733381 solid;
  border-radius: 15px;
  padding: 15px 0;
}

#class-gallery-banner .title {
  font-size: 4rem;
}
#class-gallery-banner img {
  margin-top: 0;
  border: none;
  height: 75px;
  width: auto;
}
