/* index */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  font-family: "Noto Sans TC", sans-serif;
}

/* header  */
.header {
  width: 100%;
  background-color: #fef7e6;
  display: flex;
  min-height: 70px;
  padding: 0.5rem 0px;
  color: #67755c;
  background-color: #dfd0a8;
  position: fixed;
  z-index: 10000;
  top: 0%;
}

/* 漢堡選單 */
#menuToggle {
  display: block;
  position: relative;
  top: 30px;
  left: 10px;
  z-index: 10000;
  -webkit-user-select: none;
  user-select: none;
  position: fixed;
}
#menuToggle a {
  text-decoration: none;
  color: #67755c;
  transition: color 0.3s ease;
  display: flex;
}
#menuToggle a:hover {
  color: #000;
}
#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -20px;
  left: -5px;
  cursor: pointer;
  opacity: 0;
  z-index: 10001;
  -webkit-touch-callout: none;
}
#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #67755c;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}
#menuToggle span:first-child {
  transform-origin: 0% 0%;
}
#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}
#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}
#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}
#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}
#menu {
  position: absolute;
  width: 260px;
  margin: -70px 0 0 -50px;
  padding: 10px 50px;
  padding-top: 100px;
  padding-left: 80px;
  background-image: linear-gradient(0deg, #fef7e6, #dfd0a8);
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */

  transform-origin: 0% 0%;
  transform: translate(-100%, 0);

  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}
#menu li {
  padding: 10px 15px;
  font-size: 20px;
}
#menuToggle input:checked ~ ul {
  transform: none;
}

.logo {
  display: flex;
  width: 50%;
  margin-left: 40%;
}
.logo img {
  max-height: 3.5rem;
}
.logo h1 {
  margin-left: 1rem;
}

.header-wrap {
  float: right;
  margin-right: 1rem;
}
.header-wrap a {
  color: #67755c;
  text-decoration: none;
}
.header-wrap a:hover {
  color: #000;
}
.header-item i {
  padding-right: 0.5rem;
}
.header-search {
  display: flex;
  margin-top: 0.5rem;
}
.header-search input {
  width: 8rem;
}
.searchbar {
  border: 1px solid #fef7e6;
  background-color: #fef7e6;
}
.search-btn {
  background-color: #dfd0a8;
  outline: none;
  border: 0px solid #fef7e6;
  cursor: pointer;
}
.header-search i {
  color: #fef7e6;
  padding-right: 5px;
}
.header-search i:hover {
  color: #ebe5d5;
}

@media (max-width: 768px) {
  .logo {
    margin-left: 35%;
    width: 65%;
  }
  .header-wrap {
    flex-wrap: wrap;
  }
}
@media screen and (min-width: 374px) and (max-width: 767px) {
  .logo {
    margin-left: 20%;
    width: 80%;
  }
  .logo h1 {
    font-size: 1.5rem;
    padding-top: 0.5rem;
  }
  .header-search input {
    width: 4rem;
  }
}
@media screen and (min-width: 319px) and (max-width: 373px) {
  .logo {
    margin-left: 18%;
    width: 82%;
  }
  .logo img {
    max-height: 2.5rem;
    padding-top: 0.5rem;
  }
  .logo h1 {
    font-size: 1.5rem;
    padding-top: 0.5rem;
  }
  .header-search input {
    width: 3.5rem;
  }
}

/* 分類導覽列 */
.category nav {
  text-align: center;
  letter-spacing: 1.5px;
  display: flex;
  width: 100%;
  margin-top: 1rem;
  justify-content: center;
  position: relative;
  margin-top: 75px;
}
.category nav ul {
  padding: 0 30px;
  padding-bottom: 8px;
  margin: 0;
  list-style: none;
}
.category nav li {
  list-style-type: none;
  text-align: center;
  float: left;
  position: relative;
  display: inline;
}
.category nav ul li a {
  text-decoration: none;
  display: block;
  padding: 0 35px;
  color: #67755c;
  display: inline;
  font-size: 14px;
}
.category a:hover {
  color: #000;
  font-weight: bold;
}
.category nav ul li + li::before {
  content: "|";
  padding-right: 8px;
  position: absolute;
}

/* 廣告欄位 */
.banner {
  margin: 20px 80px;
  width: 880px; /*此寬度根據圖片寬度調整*/
  height: 283px; /*此高度根據圖片高度調整*/
  overflow: hidden; /*為了將圖片隱藏*/
  position: relative;
  display: inline-block;
  margin-left: 155px;
}
#list {
  width: 5280px; /*圖片總寬度*/
  height: 483px;
  position: absolute;
  z-index: 1;
}
#list img {
  float: left;
  width: 880px;
  height: 283px;
}
#buttons {
  position: absolute;
  height: 10px;
  width: 100px;
  z-index: 2; /*將buttons放在list上層*/
  bottom: 20px;
  right: 350px;
}
#buttons span {
  cursor: pointer;
  float: left;
  border: 1px solid #fff;
  border-radius: 50%;
  height: 10px;
  width: 10px;
  margin-right: 5px;
  background: #e98352;
}
#buttons .on {
  background: #474550;
}
.arrow {
  display: none;
  cursor: pointer;
  line-height: 40px;
  text-align: center;
  font-size: 30px; /*設定箭頭的大小*/
  width: 40px;
  height: 40px;
  position: absolute;
  z-index: 2; /*將arrow放在list上層*/
  top: 130px;
  color: #fff;
  background: #474550;
}
.arrow:hover {
  background-color: #e98352;
}
#container:hover .arrow {
  display: block;
}
#pre {
  left: 20px;
}
#next {
  right: 0px;
}

/* 產品欄位 */
ul,
li {
  list-style: none;
}
.con_ul {
  display: flex;
  flex-wrap: wrap;
  margin-left: 80px;
  width: 85%;
}
.sec_li {
  width: 150px;
  height: 230px;
  margin: 0 30px;
  margin-top: 25px;
  margin-bottom: 40px;
  text-align: center;
  background-color: white;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.418);
}
.lp_li_imgWrap img {
  max-height: 140px;
  padding-bottom: 10px;
  padding-top: 10px;
  justify-content: center;
  width: 90%;
  height: 60%;
}
a {
  text-decoration: none;
}
.lp_li_name,
.lp_li_price {
  justify-content: center;
  color: #000;
  font-size: 18px;
}
.lp_li_name {
  font-weight: bold;
}
.lp_li_name:hover,
.lp_li_price:hover {
  color: #67755c;
}
/* .products .wrap .item p {
  justify-content: center;
  padding-bottom: 10px;
} */
/* 產品愛心
.products .wrap .item i {
  margin-left: 100px;
  margin-top: 3px;
  padding-bottom: 10px;
  cursor: pointer;
}
.products .wrap .item i:hover {
  color: red;
} */

/* Site footer */
.site-footer {
  background-color: #67755c;
  left: 0;
  bottom: 0;
  padding: 20px 0 20px;
  line-height: 24px;
  font-size: 12px;
  color: white;
  text-align: center;
  position: relative;
  z-index: 0;
  margin-top: 10rem;
  width: 100%;
}
.site-footer ul {
  padding-left: 0;
  list-style: none;
  width: 100%;
}
.site-footer ul li {
  display: inline-block;
}
.site-footer hr {
  border-top-color: #bbb;
  opacity: 0.5;
  width: 100%;
}
.site-footer hr.small {
  margin: 20px 0;
}
.site-footer h6 {
  font-size: 14px;
  color: white;
  margin-top: 5px;
  width: 100%;
}
.site-footer a {
  color: white;
  text-decoration: none;
  line-height: 30px;
  margin-left: 6px;
  margin-right: 0;
  border-radius: 100%;
  background-color: #33353d;
}
.site-footer a img {
  max-width: 10%;
  float: center;
  margin-top: 10px;
  margin-left: 10px;
}
.site-footer a:hover {
  color: #b1d496;
}

.copyright-text {
  margin: 0;
}

/* 返回頂端箭頭 */
.top {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 40px;
}
.top i {
  color: #f3be70;
}
.top i:hover {
  color: #fac87ec9;
}
