/* Hawaiian 剪刀圖樣選擇器（原本寫在後台分類 Hawaiian Scissors 的內容中） */

/* 花紋按鈕 */
input[name="scissor"] {
  opacity: 0;
  position: absolute;
  height: 155px;
  width: calc(100% - 4px);
  cursor: pointer;
  z-index: 1000;
}
#scissor-list {
  font-size: 16px;
  float: left;
  width: 60%;
}
.scissor-btn {
  height: 155px;
  width: calc(20% - 4px);
  font-size: 14px;
  background-color: #f6f6f6;
  border-radius: 5px;
  margin: 5px 4px 0 0;
  cursor: pointer;
  float: left;
  position: relative;
  overflow: hidden;
  transition-duration: 0.3s;
}
.scissor-btn:nth-child(odd) {
  background-color: #f6f5fb;
}
.scissor-btn.active {
  background-image: linear-gradient(to top, #969696 0%, #c8c8ca 52%, #ebebeb 100%);
  transition-duration: 0.3s;
}
.scissor-btn span {
  display: block;
  padding: 15px;
  text-align: center;
  background-image: url(/upload_files/faith/hawaiian/scissor-bg.png);
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 10px;
}
#scissor-list img {
  transform: scale(0.9);
  display: block;
  position: absolute;
  top: 60px;
}

/* 螺絲按鈕 */
input[name="screw"] {
  opacity: 0;
  position: absolute;
  height: 75px;
  width: 100%;
  cursor: pointer;
  margin-left: -82px;
  margin-top: -5px;
}
#screw-list {
  float: left;
  width: 40%;
  margin-bottom: 3%;
  padding-left: 1%;
  font-size: 16px;
}
.screw-btn {
  height: 75px;
  width: calc(50% - 4px);
  font-size: 14px;
  color: #fff;
  background-color: #666666;
  border-radius: 5px;
  margin: 5px 4px 3px 0;
  padding: 5px;
  cursor: pointer;
  float: left;
  position: relative;
  overflow: hidden;
  transition-duration: 0.3s;
}
.screw-btn img {
  width: 57px;
  height: 57px;
  margin: 5px 10px;
  background-color: #fff;
  padding: 7px;
  border-radius: 999em;
}
.screw-btn.active {
  background-color: #ff290b;
  transition-duration: 0.5s;
}

/* 剪刀照片 */
#item-img {
  display: block;
  margin: 0 auto;
}
#item-scissor {
  font-size: 36px;
  font-weight: bold;
  margin: 0px;
  padding-top: 45px;
  text-align: center;
  clear: both;
}
#item-screw {
  font-size: 18px;
  font-weight: bold;
  margin: 0px;
  padding: 0px;
  text-align: center;
}

/* 花紋敘述、螺絲敘述 */
#item-scissor-text, #item-screw-text {
  line-height: 2.3;
  width: 50%;
  float: left;
  padding: 2% 4% 5% 4%;
  transition-duration: 0.7s;
  font-size: 15px;
}
#item-scissor-text img.pattern {
  margin: 15px 0 10px 0;
  display: block;
}
#item-screw-text img.screw-pattern {
  margin: 15px 0 10px 0;
  display: block;
  width: 100px;
  height: 100px;
}
.item-scissor-tilte, .item-screw-tilte {
  font-size: 20px;
  font-weight: bold;
  border-bottom: 1px solid #cacaca;
  margin-bottom: 15px;
}
.item h3 {
  border-top: 1px solid rgba(202, 202, 202, 0.4);
}

@media only screen and (max-width: 1024px) {
  #scissor-list {
    width: 100%;
  }
  #screw-list {
    width: 100%;
    margin: 2% 0;
    padding-left: 0%;
  }
  .screw-btn {
    width: calc(25% - 4px);
  }
}

@media only screen and (max-width: 640px) {
  .scissor-btn {
    height: 100px;
    margin-bottom: 4px;
  }
  input[name="scissor"] {
    height: 100px;
  }
  .scissor-btn span {
    padding: 4px;
    margin-top: 5px;
    background-image: none;
  }
  #scissor-list img {
    transform: scale(1);
    top: 40px;
  }
  input[name="screw"] {
    display: block;
    width: 100%;
    margin-left: -4px;
    margin-top: -55px;
  }
  .screw-btn {
    text-align: center;
  }
  .screw-btn img {
    width: 43px;
    height: 43px;
    display: block;
    margin: 3px auto;
    padding: 5px;
  }
  #item-scissor-text, #item-screw-text {
    width: 100%;
    float: none;
    padding: 3% 0 5% 0;
    font-size: 13px;
  }
}
