/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Full height body */
html,
body {
  height: 100%;
  width: 100%;
  font-family: sans-serif;
  direction: rtl;
  overflow: hidden;
  background: #fff9e7;
}

/* Container to fill the page */
.main-wrapper {
  position: relative; /* اضافه برای موقعیت‌دهی به دکمه‌ها */
  /* min-height: 100vh; */
  display: flex;
  /* flex-direction: column; */
  justify-content: center;
  align-items: center;
  /* text-align: center; */

  height: 100%;
  margin: 0 auto;

  touch-action: pan-y;
  pointer-events: auto;
}

.image-box {
  position: relative;
  display: inline-block;
}

.responsive-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: contain;
  z-index: 1;
  user-drag: none; /* Safari */
  -webkit-user-drag: none; /* Chrome */
  user-select: none; /* جلوگیری از انتخاب */
  pointer-events: auto; /* فعال نگه داشتن کلیک */
}

/*----------------------------------------------*/
/*-------------موجودی های قابل کلید--------------*/
/*----------------------------------------------*/
.inventory-clicable {
  position: absolute;
  cursor: pointer;
  border-radius: 14%;
  width: 5.2%;
  height: 6.2%;
  -webkit-user-select: none; /* برای Safari */
  -moz-user-select: none; /* برای Firefox */
  -ms-user-select: none; /* برای IE/Edge قدیمی */
  -webkit-tap-highlight-color: transparent;
}

.inventory-clicable-1 {
  top: 38.1%;
  left: 14.5%;
}
.inventory-clicable-2 {
  top: 38.1%;
  left: 21.8%;
}
.inventory-clicable-3 {
  top: 38.1%;
  left: 29%;
}
.inventory-clicable-4 {
  top: 38.1%;
  left: 36.5%;
}
.inventory-clicable-5 {
  top: 38.1%;
  left: 43.8%;
}
.inventory-clicable-6 {
  top: 38.1%;
  left: 51%;
}
.inventory-clicable-7 {
  top: 38.1%;
  left: 58.5%;
}
.inventory-clicable-8 {
  top: 38.1%;
  left: 65.7%;
}
.inventory-clicable-9 {
  top: 38.1%;
  left: 73.1%;
}
.inventory-clicable-10 {
  top: 38.1%;
  left: 80.4%;
}

.inventory-clicable {
  text-align: center;
}

.inventory-clicable span {
  position: absolute;
  left: 22%;
  top: 5%;
  font-size: 1rem;
}

.inventory-clicable img {
  position: absolute;
  left: 5%;
  top: 40%;
  width: 90%;
  height: auto;
}

.inventory-clicable-minus {
  background-color: rgba(218, 46, 27, 0.814);
}

.inventory-clicable-plus {
  background-color: rgba(70, 228, 18, 0.814);
}

/*----------------------------------------------*/
/*-------------آیتم های قابل کلید--------------*/
/*----------------------------------------------*/

.item-label {
  position: absolute;
  cursor: pointer;
  width: 6.2%;
  height: 2.5%;
  text-align: center;
  -webkit-user-select: none; /* برای Safari */
  -moz-user-select: none; /* برای Firefox */
  -ms-user-select: none; /* برای IE/Edge قدیمی */
  -webkit-tap-highlight-color: transparent;
}

.item-label .item-txt {
  position: absolute;
  font-size: 0.8rem;
  top: 1%;
  width: 100%;
  text-align: center;
}

.item-label .item-count {
  position: absolute;
  font-size: 0.6rem;
  top: 55%;
  left: 40%;
}

.item-label .btn-minus {
  position: absolute;
  width: 30%;
  height: 60%;
  top: 45%;
  left: 1%;
  -webkit-user-select: none; /* برای Safari */
  -moz-user-select: none; /* برای Firefox */
  -ms-user-select: none; /* برای IE/Edge قدیمی */
  user-select: none; /* استاندارد */
  -webkit-tap-highlight-color: transparent;
}

.item-label .btn-plus {
  position: absolute;
  width: 30%;
  height: 60%;
  top: 45%;
  left: 65%;
  -webkit-user-select: none; /* برای Safari */
  -moz-user-select: none; /* برای Firefox */
  -ms-user-select: none; /* برای IE/Edge قدیمی */
  user-select: none; /* استاندارد */
  -webkit-tap-highlight-color: transparent;
}

.item-label-1 {
  top: 51.5%;
  left: 14.8%;
}
.item-label-2 {
  top: 51.5%;
  left: 40.7%;
}
.item-label-3 {
  top: 51.5%;
  left: 66.2%;
}
.item-label-4 {
  top: 59.9%;
  left: 27.9%;
}
.item-label-5 {
  top: 59.9%;
  left: 53.5%;
}
.item-label-6 {
  top: 68.3%;
  left: 28%;
}
.item-label-7 {
  top: 68.3%;
  left: 53.5%;
}
.item-label-8 {
  top: 76.7%;
  left: 14.8%;
}
.item-label-9 {
  top: 76.7%;
  left: 40.5%;
}
.item-label-10 {
  top: 76.7%;
  left: 66%;
}

.item-clicable {
  position: absolute;
  cursor: pointer;
  border-radius: 14%;
  width: 9.6%;
  height: 5.5%;
  text-align: right;
  -webkit-user-select: none; /* برای Safari */
  -moz-user-select: none; /* برای Firefox */
  -ms-user-select: none; /* برای IE/Edge قدیمی */
  user-select: none; /* استاندارد */
  -webkit-tap-highlight-color: transparent;
}

.item-clicable-1 {
  top: 48.8%;
  left: 24.2%;
}

.item-clicable-2 {
  top: 48.8%;
  left: 49.9%;
}

.item-clicable-3 {
  top: 48.8%;
  left: 75.6%;
}

.item-clicable-4 {
  top: 57.2%;
  left: 37.5%;
}

.item-clicable-5 {
  top: 57.2%;
  left: 62.9%;
}

.item-clicable-6 {
  top: 65.5%;
  left: 37.5%;
}

.item-clicable-7 {
  top: 65.5%;
  left: 62.9%;
}

.item-clicable-8 {
  top: 74%;
  left: 24.2%;
}

.item-clicable-9 {
  top: 74%;
  left: 49.9%;
}

.item-clicable-10 {
  top: 74%;
  left: 75.6%;
}

.item-clicable img {
  width: 80%;
  height: auto;
  /* margin: 5px; */
  pointer-events: none;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE 10+ */
  user-select: none; /* Standard */
}
/* .item-clicable:hover {
  background-color: rgba(43, 214, 226, 0.37);
}

.item-clicable:active {
  background-color: rgba(245, 251, 169, 0.814);
} */

.item-cost {
  position: absolute;
  cursor: pointer;
  width: 9%;
  height: 1.5%;
  text-align: left;
  z-index: 8000;
  font-size: 14px;
  font-weight: 400;
  color: rgb(60, 60, 60);
  -webkit-tap-highlight-color: transparent;
}

.item-cost-1 {
  top: 52.2%;
  left: 22%;
}

.item-cost-2 {
  top: 52.2%;
  left: 47.8%;
}

.item-cost-3 {
  top: 52.2%;
  left: 73.3%;
}

.item-cost-4 {
  top: 60.7%;
  left: 34.9%;
}

.item-cost-5 {
  top: 60.7%;
  left: 60.5%;
}

.item-cost-6 {
  top: 69.1%;
  left: 34.9%;
}

.item-cost-7 {
  top: 69.1%;
  left: 60.5%;
}

.item-cost-8 {
  top: 77.5%;
  left: 22%;
}

.item-cost-9 {
  top: 77.5%;
  left: 47.8%;
}

.item-cost-10 {
  top: 77.5%;
  left: 73.3%;
}

/*--------------------------------------*/
.item-cost-fee {
  position: absolute;
  cursor: pointer;
  width: 9%;
  height: 1.5%;
  text-align: left;
  z-index: 8000;
  font-size: 15px;
  font-weight: 500;
  color: rgb(60, 60, 60);
  -webkit-tap-highlight-color: transparent;
}

.item-cost-fee-1 {
  top: 46.8%;
  left: 49%;
}

.item-cost-fee-2 {
  top: 50%;
  left: 49%;
}

.item-cost-fee-3 {
  top: 53.5%;
  left: 49%;
}

.item-cost-fee-4 {
  top: 56.7%;
  left: 49%;
}

.item-cost-fee-5 {
  top: 60%;
  left: 49%;
}

.item-cost-fee-6 {
  top: 63.4%;
  left: 49%;
}

.item-cost-fee-7 {
  top: 66.7%;
  left: 49%;
}

.item-cost-fee-8 {
  top: 70.1%;
  left: 49%;
}

.item-cost-fee-9 {
  top: 73.3%;
  left: 49%;
}

.item-cost-fee-10 {
  top: 76.6%;
  left: 49%;
}

/*--------------------------------------*/
.item-count {
  position: absolute;
  cursor: pointer;
  width: 3.5%;
  height: 1.5%;
  text-align: left;
  z-index: 8000;
  font-size: 15px;
  font-weight: 500;
  color: rgb(60, 60, 60);
  -webkit-tap-highlight-color: transparent;
}

.item-count-1 {
  top: 46.8%;
  left: 39%;
}

.item-count-2 {
  top: 50%;
  left: 39%;
}

.item-count-3 {
  top: 53.5%;
  left: 39%;
}

.item-count-4 {
  top: 56.7%;
  left: 39%;
}

.item-count-5 {
  top: 60%;
  left: 39%;
}

.item-count-6 {
  top: 63.4%;
  left: 39%;
}

.item-count-7 {
  top: 66.7%;
  left: 39%;
}

.item-count-8 {
  top: 70.1%;
  left: 39%;
}

.item-count-9 {
  top: 73.3%;
  left: 39%;
}

.item-count-10 {
  top: 76.6%;
  left: 39%;
}
/*--------------------------------------*/
.item-total {
  position: absolute;
  cursor: pointer;
  width: 13%;
  height: 1.5%;
  text-align: left;
  z-index: 8000;
  font-size: 15px;
  font-weight: 500;
  color: rgb(60, 60, 60);
  -webkit-tap-highlight-color: transparent;
}

.item-total-1 {
  top: 46.8%;
  left: 19%;
}

.item-total-2 {
  top: 50%;
  left: 19%;
}

.item-total-3 {
  top: 53.5%;
  left: 19%;
}

.item-total-4 {
  top: 56.7%;
  left: 19%;
}

.item-total-5 {
  top: 60%;
  left: 19%;
}

.item-total-6 {
  top: 63.4%;
  left: 19%;
}

.item-total-7 {
  top: 66.7%;
  left: 19%;
}

.item-total-8 {
  top: 70.1%;
  left: 19%;
}

.item-total-9 {
  top: 73.3%;
  left: 19%;
}

.item-total-10 {
  top: 76.6%;
  left: 19%;
}
/*--------------------------------------*/
.item-all {
  position: absolute;
  cursor: pointer;
  width: 22%;
  height: 2%;
  text-align: left;
  z-index: 8000;
  font-size: 16px;
  font-weight: 800;
  color: rgb(60, 60, 60);
  top: 79.8%;
  left: 13%;
  -webkit-tap-highlight-color: transparent;
}

/*--------------------------------------*/
/*--------------------------------------*/
/*--------------------------------------*/

#btnback {
  top: 6%;
  width: 3rem;
  height: 3rem;
}

.btn-pay {
  position: absolute;
  font-size: 0.8rem;
  top: 84.6%;
  left: 44%;
  width: 12%;
  height: 3.2%;
  text-align: center;
  cursor: pointer;
}

.btn-back {
  position: absolute;
  font-size: 0.8rem;
  top: 84.6%;
  left: 12%;
  width: 17.5%;
  height: 3.2%;
  text-align: center;
  cursor: pointer;
}

/*--------------------------------------*/

.character-man-click {
  position: absolute;
  left: 2.8%;
  top: 24%;
  z-index: 1000;
  cursor: pointer;
  width: 7%;
  height: 6%;
}

.character-man-click img {
  width: 100%;
  height: auto;
}

.character-woman-click {
  position: absolute;
  left: 90%;
  top: 24%;
  z-index: 1000;
  cursor: pointer;
  width: 7%;
  height: 6%;
}

.character-woman-click img {
  width: 100%;
  height: auto;
}

.footer-frosh-clickable {
  cursor: pointer;
  position: absolute;

  top: 83.9%;
  left: 50%;

  width: 11%;
  height: 2.8%;

  font-size: 0.8rem;
  font-weight: bolder;
  color: #ffffff;
  z-index: 1000;

  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

@media only screen and (max-width: 560px) {
  #btnright,
  #btnleft {
    display: none;
  }

  .footer-frosh-clickable {
    width: 13%;
    font-size: 0.8rem;
    top: 83.8%;
  }
}

@media only screen and (max-width: 380px) {
  .footer-frosh-clickable {
    width: 13%;
    font-size: 0.6rem;
    top: 83.8%;
  }
}
