@charset "UTF-8";
/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : 2024年4月29日, 下午1:30:29
    Author     : Wei
*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+TC");
@import url("https://fonts.googleapis.com/css2?family=Lato");
.flex_around {
  display: flex;
  display: -webkit-flex;
  /*for safari*/
  justify-content: space-around;
  -webkit-justify-content: space-around;
  -webkit-flex-wrap: wrap;
  align-items: center;
}

.flex_between {
  display: flex;
  display: -webkit-flex;
  /*for safari*/
  justify-content: space-between;
  -webkit-justify-content: space-between;
  -webkit-flex-wrap: wrap;
  align-items: center;
}

.flex_center, #product .product_main .info_main .btn_group, #product .product_main .info_main #unit_group #qty, #product .product_main .info_main #unit_group #minus,
#product .product_main .info_main #unit_group #plus, #product .product_main .info_main #unit_group, #product .product_main .image_group, #product .product_main, .product_item .amt .add_cart, #banner .banner_item .text {
  display: flex;
  display: -webkit-flex;
  /*for safari*/
  justify-content: center;
  -webkit-justify-content: center;
  -webkit-flex-wrap: wrap;
  align-items: center;
}

.flex_start, #product .may_like .may_group, #product_list, #banner .banner_item {
  display: flex;
  display: -webkit-flex;
  /*for safari*/
  justify-content: flex-start;
  -webkit-justify-content: flex-start;
  -webkit-flex-wrap: wrap;
  align-items: center;
}

.flex_end {
  display: flex;
  display: -webkit-flex;
  /*for safari*/
  justify-content: flex-end;
  -webkit-justify-content: flex-end;
  -webkit-flex-wrap: wrap;
  align-items: center;
}

.background_template, .product_item .image, #banner .banner_item .image {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

html,
body {
  overflow-x: hidden;
}

body {
  position: relative;
  clear: both;
  font-family: "Lato", "Noto Sans TC", "Microsoft JhengHei", sans-serif, FontAwesome;
  background: rgba(238, 236, 234, 0.5);
  color: #000;
  font-size: 14px;
}

#menu {
  background: #fff;
  color: #000;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.25);
}
#menu .menu_block {
  max-width: 1200px;
}
#menu .logo {
  font-weight: bold;
  font-size: 24px;
}
#menu #cart_btn {
  color: #4a4e5c;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.25);
}
#menu #cart_btn #cart_count {
  font-size: 10px;
  background: rgb(127, 0, 25);
}

#total_amt {
  color: rgb(127, 0, 25);
}

#banner {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 80px;
  margin-bottom: -5px;
  padding: 0 5px;
}
#banner .banner_item {
  position: relative;
  width: 100%;
  margin: 10px 0;
}
#banner .banner_item .image {
  height: 384px;
  width: 100%;
}
#banner .banner_item .text {
  position: absolute;
  left: 0;
  top: 0;
  background-color: #4a4e5c;
  color: #fff;
  width: 40%;
  height: 100%;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  background: rgba(74, 78, 92, 0.75);
}
#banner .banner_item .text .big {
  letter-spacing: 2px;
  font-size: 24px;
  font-weight: 900;
  text-align: left;
}
#banner .banner_item .text .big .small {
  text-shadow: none;
  margin-top: 10px;
  font-size: 16px;
}
#banner .banner_item:nth-child(even) {
  flex-direction: row-reverse;
}
@media (max-width: 900px) {
  #banner .banner_item .text {
    position: static;
    width: 100%;
    padding: 20px;
  }
}

#product_list {
  max-width: 1200px;
  width: 100%;
  margin: 5px auto;
  border-radius: 0;
}
@media (max-width: 900px) {
  #product_list {
    flex-direction: column;
  }
  #product_list a {
    width: -moz-fit-content;
    width: fit-content;
    padding: 20px;
    margin: 0 auto;
  }
  #product_list a img {
    width: 100%;
    margin: 0;
    max-width: 300px;
  }
  #product_list .item_right {
    width: 100%;
    text-align: center;
  }
  #product_list .item_right > div {
    margin: 0 auto;
    height: -moz-fit-content;
    height: fit-content;
  }
  #product_list .product_control {
    position: static;
  }
}

@media (max-width: 900px) {
  #cart_bottom {
    flex-direction: column;
  }
  #cart_bottom #amt {
    margin: 10px auto;
    text-align: center;
    justify-content: center;
    -webkit-justify-content: center;
    -webkit-flex-wrap: wrap;
    align-items: center;
    width: 100% !important;
  }
}
.product_item {
  min-width: 175px;
  width: calc(20% - 10px);
  margin: 5px;
  font-size: 14px;
  transition: 0.3s;
  padding-bottom: 10px;
  background: #fff;
}
.product_item .image {
  width: 100%;
  height: auto;
}
.product_item .name {
  height: 36px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
  margin-top: 5px;
  padding: 0 10px;
}
.product_item .amt {
  position: relative;
  color: rgb(127, 0, 25);
  padding: 0 10px;
}
.product_item .amt .add_cart {
  color: #4a4e5c;
  position: absolute;
  top: -5px;
  right: 5px;
  height: 30px;
  width: 30px;
  font-size: 14px;
  transition: 0.3s;
  cursor: pointer;
}
.product_item .amt .add_cart:hover {
  color: rgb(127, 0, 25);
}
.product_item:hover {
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.25);
}

#checkout,
#checkout_1_submit {
  background: #4a4e5c;
  color: #fff;
  transition: 0.3s;
  border-radius: 3px;
  border: 1px solid #4a4e5c;
}
#checkout:hover,
#checkout_1_submit:hover {
  background: rgb(238, 236, 234);
  color: #4a4e5c;
}

#product {
  padding: 50px 100px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  margin-top: 85px;
  background: #fff;
  min-height: calc(100vh - 200px);
}
#product .back {
  margin-bottom: 20px;
  cursor: pointer;
}
#product .product_main {
  align-items: flex-start;
}
#product .product_main .image_group {
  width: 50%;
}
#product .product_main .image_group img {
  width: 90%;
  max-width: 350px;
  margin: 5px;
  height: auto;
}
#product .product_main .info_main {
  width: 50%;
}
#product .product_main .info_main > div {
  margin-bottom: 10px;
}
#product .product_main .info_main .name {
  font-size: 20px;
  font-weight: bold;
}
#product .product_main .info_main .price {
  font-size: 20px;
  font-weight: bold;
  color: rgb(127, 0, 25);
}
#product .product_main .info_main #unit_group {
  margin-bottom: 0;
}
#product .product_main .info_main #unit_group #minus,
#product .product_main .info_main #unit_group #plus {
  height: 35px;
  width: 35px;
  border: 1px solid #4a4e5c;
  background: #4a4e5c;
  color: #fff;
  margin: 5px;
  border-radius: 3px;
}
#product .product_main .info_main #unit_group #qty {
  width: calc(100% - 100px);
  max-width: 300px;
  border: 1px solid #4a4e5c;
  color: #4a4e5c;
  margin: 5px;
  height: 35px;
  border-radius: 3px;
}
#product .product_main .info_main .btn_group {
  width: 100%;
}
#product .product_main .info_main .btn_group button {
  width: calc(50% - 10px);
  margin: 5px;
  border: 1px solid #4a4e5c;
  color: #4a4e5c;
  height: 45px;
  border-radius: 3px;
  transition: 0.3s;
}
#product .product_main .info_main .btn_group button#checkout {
  background: #4a4e5c;
  color: #fff;
}
#product .product_main .info_main .btn_group button:hover, #product .product_main .info_main .btn_group button#checkout:hover {
  background: rgb(238, 236, 234);
  color: #4a4e5c;
}
#product .product_main .info_main .info_block .info_title {
  font-size: 16px;
  border-bottom: 2px solid rgb(127, 0, 25);
  font-weight: bold;
  padding: 5px;
}
#product .product_main .info_main .info_block .info_text {
  padding: 5px;
}
#product .may_like {
  margin-top: 50px;
}
#product .may_like .may_title {
  font-size: 16px;
  border-bottom: 2px solid rgb(127, 0, 25);
  font-weight: bold;
  padding: 5px;
}
#product .may_like .may_group {
  padding: 5px 0;
}
@media (max-width: 900px) {
  #product {
    padding: 20px;
  }
  #product .product_main {
    flex-direction: column;
  }
  #product .product_main .image_group,
  #product .product_main .info_main {
    width: 100%;
    text-align: center;
  }
  #product .may_like {
    text-align: center;
  }
  #product .may_like .may_group {
    justify-content: center;
    -webkit-justify-content: center;
    -webkit-flex-wrap: wrap;
    align-items: center;
  }
}

.radio.active {
  border: 8px solid rgb(127, 0, 25);
}

form input,
form select,
form textarea {
  padding: 0 5px;
}/*# sourceMappingURL=style.css.map */