@charset "utf-8";

.shop-cover {
  position: relative;
  width: 1356px;
  height: 896px;
  margin-right: -80px;
}

.shop-cover::after,
.shop-cover::before {
  left: 0;
  top: 0;
  content: "";
  display: block;
  position: absolute;
  width: 1356px;
  height: 896px;
  pointer-events: none;
  z-index: 0;
  background: url(./images/shop_ui_outer_frame.png) no-repeat;
  transition: .25s;
}

.shop-cover::before {
  z-index: 2;
  margin-top: -32px;
  width: 1339px;
  height: 931px;
  background: url(./images/shop_ui_inner_frame.png) no-repeat;
  transition: .25s;
}

.shop-inner,
.shop-tabs {
  transition: filter .25s;
}

.shop-cover.inactive::before,
.shop-cover.inactive::after,
.shop-cover.inactive .shop-inner,
.shop-cover.inactive .shop-tabs {
  filter: brightness(0.5);
}

.covnos-shop-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 0;
}

.covnos-shop-item {
  display: flex;
  background: url(./images/shop_ui_item_frame.png) no-repeat;
  background-position: center;
  width: 450px;
  height: 212px;
  box-sizing: border-box;
  padding: 24px;
  gap: 16px;
}

.covnos-shop-item-image {
  width: 120px;
  height: 120px;
  background-image: var(--path);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.shop-inner {
  position: relative;
  width: 960px;
  height: 716px;
  box-sizing: border-box;
  margin-top: 105px;
  margin-left: 215px;
  z-index: 2;
}

.shop-item-info-area {
  flex-grow: 1;
  position: relative;
}

.shop-item-name {
  height: 30px;
  line-height: 30px;
  font-size: 20px;
  font-family: 'Eulyoo1945';
  color: #643e1d;
}

.shop-item-name::before {
  content: "【";
}

.shop-item-name::after {
  content: "】";
}

.shop-item-description {
  width: 100%;
  height: 90px;
  overflow-y: scroll;
  margin: 8px 0;
  line-height: 20px;
}

.shop-item-description,
.shop-item-description * {
  font-family: 'Paperlogy';
  font-size: 14px;
  color: #906565;
}

.shop-item-description::-webkit-scrollbar {
  background: #643e1d;
}

.shop-item-description::-webkit-scrollbar-track {
  background: #643e1d;
}

.shop-item-description::-webkit-scrollbar-thumb {
  border: 1px solid #643e1d;
  background: #ECE3D9;
}

.shop-item-image-area {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.shop-item-price {
  height: 32px;
  line-height: 32px;
  font-family: 'Paperlogy';
  font-size: 16px;
  font-weight: 700;
  color: #906565;
  background: url(./images/shop_ui_coin.png) no-repeat;
  background-position: 0px center;
  padding-left: 30px;
}

#item_list_box {
  width: 920px;
  height: 640px;
}

nav.pagination {
  position: absolute;
  display: flex;
  justify-content: center;
  flex-direction: column;
  top: 0px;
  right: 0px;
  height: 640px;
  gap: 8px;
  width: 50px;
  align-items: center;
}

nav.pagination * {
  font-family: 'Paperlogy';
  text-align: center;
  font-size: 16px;
  color: #322;
}

.pagination-next,
.pagination-prev {
  color: transparent !important;
  font-size: 1px;
  width: 24px;
  height: 24px;
}

.pagination-next {
  background: url(./images/shop_ui_btn_dwn.png) no-repeat;
  background-position: center;
}

.pagination-prev {
  background: url(./images/shop_ui_btn_top.png) no-repeat;
  background-position: center;
}

span.pagination-next {
  opacity: .25;
}

span.pagination-prev {
  opacity: .25;
}

#item_info {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shop-tabs {
  width: 920px;
  display: flex;
  gap: 24px;
  justify-content: end;
  position: absolute;
  right: 150px;
  top: 2px;
  z-index: 1;
}

.shop-tabs a {
  width: 109px;
  height: 42px;
  cursor: pointer;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto;
  border: none;
  text-decoration: none;
  color: transparent;
}

.shop-tab.filter-all {
  background-image: url(./images/shop_ui_tab_all_n.png);
}

.shop-tab.filter-all.filter-selected {
  background-image: url(./images/shop_ui_tab_all_s.png);
}

.shop-tab.filter-arm {
  background-image: url(./images/shop_ui_tab_arm_n.png);
}

.shop-tab.filter-arm.filter-selected {
  background-image: url(./images/shop_ui_tab_arm_s.png);
}

.shop-tab.filter-acc {
  background-image: url(./images/shop_ui_tab_acc_n.png);
}

.shop-tab.filter-acc.filter-selected {
  background-image: url(./images/shop_ui_tab_acc_s.png);
}

.shop-tab.filter-use {
  background-image: url(./images/shop_ui_tab_use_n.png);
}

.shop-tab.filter-use.filter-selected {
  background-image: url(./images/shop_ui_tab_use_s.png);
}

.shop-tab.filter-doc {
  background-image: url(./images/shop_ui_tab_doc_n.png);
}

.shop-tab.filter-doc.filter-selected {
  background-image: url(./images/shop_ui_tab_doc_s.png);
}

.shop-tab.filter-other {
  width: 144px;
  background-image: url(./images/shop_ui_tab_other_n.png);
}

.shop-tab.filter-other.filter-selected {
  background-image: url(./images/shop_ui_tab_other_s.png);
}

.shop-item-buy {
  width: 75px;
  height: 24px;
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: url(./images/shop_ui_buy.png) no-repeat;
  background-size: auto;
  background-position: center;
}

.item-popup-content a {
  text-decoration: none;
  color: #deccbc;
}

.item-popup-description {
  position: absolute;
  left: 40px;
  top: 120px;
  width: 396px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-family: 'Paperlogy';
  font-weight: bold;
  color: #643e1d;
}

.item-price span {
  font-family: 'Paperlogy';
  font-weight: bold;
  padding: 0 16px;
  display: inline-block;
}

@media (max-width: 1319.98px) {

  html,
  body {
    overflow: unset !important;
  }

  .shop-cover::before,
  .shop-cover::after {
    display: none;
  }

  .general.main-content {
    display: block;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 100px 20px;
    height: auto;
    box-sizing: border-box;
  }

  .general.main-content .index-area {
    margin: 0 !important;
    overflow: unset;
    display: block;
  }

  .shop-cover {
    width: auto;
    height: auto;
    margin: 0;
    display: flex;
    flex-direction: column-reverse;
  }

  .shop-inner {
    margin: 0;
    width: auto;
    height: auto;
  }

  #item_list_box {
    width: auto;
    height: auto;
  }

  .covnos-shop-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  nav.pagination {
    height: auto;
    flex-direction: row;
    position: relative;
    width: 100%;
  }

  .shop-tabs {
    width: auto;
    position: relative;
    left: unset;
    top: unset;
    bottom: unset;
    right: unset;
    gap: 4px;
    padding: 0;
    min-height: 32px;
    border-bottom: 2px solid #643e1d;
  }

  .shop-tabs>.shop-tab.shop-tab {
    background-image: unset;
    width: auto;
    padding: 4px 8px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Eulyoo1945';
    color: #643e1d;
    font-size: 16px;
  }

  .shop-tab.filter-selected {
    background: #fff8;
    border-radius: 4px;
  }

  #item_info {
    position: fixed;
  }
}
