@charset "UTF-8";
@font-face {
  font-family: "DFHeiStd-W7";
  src: url("../font/DFHeiStd-W7.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "DFHeiStd-W9";
  src: url("../font/DFHeiStd-W9.woff") format("woff");
  font-weight: 900;
  font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  font-family: "DFHeiStd-W7";
}
* .W9 {
  font-family: "DFHeiStd-W9";
}

html {
  font-size: 16px; /*根尺寸*/
}
@media (min-width: 1800px) {
  html {
    font-size: 20px;
  }
}
@media (max-width: 1800px) {
  html {
    font-size: 18px;
  }
}
@media (max-width: 1400px) {
  html {
    font-size: 16px;
  }
}
@media (max-width: 1200px) {
  html {
    font-size: 12px;
  }
}
@media (max-width: 992px) {
  html {
    font-size: 10px;
  }
}

h3 {
  font-family: "DFHeiStd-W9";
}

.overlay {
  display: none;
  position: absolute;
  top: 0vw;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1000; /* 保證圖片位於最上層，可以根據需求調整 */
  pointer-events: none; /* 這樣可以讓用戶互動不會被圖片阻擋 */
}
.overlay img {
  width: 100%;
  height: auto;
  opacity: 0.2; /* 背景參考圖片設置透明度 */
  -o-object-fit: cover;
     object-fit: cover; /* 保持圖片比例並覆蓋整個視口 */
  margin-top: 0;
}

section.cart_detail {
  width: 100%;
  height: auto;
}
section.cart_detail div.cd_container {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
  height: auto;
}
section.cart_detail div.cd_container div.title_area {
  height: 20vw;
  align-self: center;
  font-family: "DFHeiStd-W9";
}
section.cart_detail div.cd_container div.title_area h1.title {
  font-size: 3.75vw;
  letter-spacing: 0.625vw;
  color: rgb(255, 113, 0);
  font-weight: bold;
  margin-top: 8vw;
  text-align: center;
}
section.cart_detail div.cd_container div.title_area p {
  font-size: 1.5625vw;
  color: rgb(255, 113, 0);
  font-weight: bold;
  text-align: center;
}
section.cart_detail div.cd_container div.pd_info_area {
  height: auto;
  align-self: center;
  width: 90%;
  display: flex;
  flex-direction: column;
}
section.cart_detail div.cd_container div.pd_info_area div.text_mark_d {
  display: flex;
  flex-direction: row;
  height: 3.5vw;
}
section.cart_detail div.cd_container div.pd_info_area div.text_mark_d h1.mark {
  font-size: 1.6vw;
  font-weight: bold;
  font-family: "DFHeiStd-W9";
}
section.cart_detail div.cd_container div.pd_info_area div.text_mark_d h1.mark.mark1 {
  flex: 0 0 42%;
  margin-left: 4vw;
}
section.cart_detail div.cd_container div.pd_info_area div.text_mark_d h1.mark.mark2 {
  flex: 0 0 16%;
}
section.cart_detail div.cd_container div.pd_info_area div.text_mark_d h1.mark.mark3 {
  flex: 0 0 21%;
}
section.cart_detail div.cd_container div.pd_info_area div.text_mark_d h1.mark.mark4 {
  flex: 0 0 16%;
}
section.cart_detail div.cd_container div.pd_info_area div.bar {
  border-top: 2px solid rgb(209, 209, 209);
  width: 100%;
  height: 0;
}
section.cart_detail div.cd_container div.pd_info_area div.pd_info {
  height: 12.5vw;
  display: flex;
}
section.cart_detail div.cd_container div.pd_info_area div.pd_info img.pd_img_s {
  width: 7vw;
  height: 7vw;
  align-self: center;
  margin: 0 3.5vw;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 1/1;
}
section.cart_detail div.cd_container div.pd_info_area div.pd_info div.name {
  flex: 0 0 21%;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: start;
  height: 5vw;
}
section.cart_detail div.cd_container div.pd_info_area div.pd_info div.name h1.main_pd_name {
  font-size: 2.2vw;
  font-weight: bold;
  font-family: "DFHeiStd-W9";
}
section.cart_detail div.cd_container div.pd_info_area div.pd_info div.name p.var_pd_name {
  font-size: 1.6vw;
  font-weight: bold;
  margin-top: 1vw;
}
section.cart_detail div.cd_container div.pd_info_area div.pd_info div.price {
  flex: 0 0 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
section.cart_detail div.cd_container div.pd_info_area div.pd_info div.price p.oprice {
  font-size: 1.5vw;
  font-weight: bold;
  text-decoration: line-through;
}
section.cart_detail div.cd_container div.pd_info_area div.pd_info div.price h1.sprice {
  font-size: 2vw;
  font-weight: bold;
  font-family: "DFHeiStd-W9";
  margin-top: 0vw;
  color: rgb(4, 112, 92);
}
section.cart_detail div.cd_container div.pd_info_area div.pd_info div.quantity {
  flex: 0 0 10%;
  margin-left: -2vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
section.cart_detail div.cd_container div.pd_info_area div.pd_info div.quantity .quantity-select {
  font-size: 1.5vw;
}
section.cart_detail div.cd_container div.pd_info_area div.pd_info div.total_price {
  flex: 0 0 21%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: 4vw;
}
section.cart_detail div.cd_container div.pd_info_area div.pd_info div.total_price h1.tprice {
  font-size: 2vw;
  font-weight: bold;
  font-family: "DFHeiStd-W9";
  color: rgb(4, 112, 92);
}
section.cart_detail div.cd_container div.pd_info_area div.pd_info div.delete_item {
  flex: 0 0 6%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}
section.cart_detail div.cd_container div.pd_info_area div.pd_info div.delete_item button {
  border: none;
  font-size: 1.5vw;
}
section.cart_detail div.cd_container div.checkout_area {
  height: 33vw;
  width: 90%;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: end;
}
section.cart_detail div.cd_container div.checkout_area div.total_price_pd {
  width: 23vw;
  margin-right: 10vw;
  margin-top: 2vw;
  display: flex;
  height: 3vw;
  align-items: center;
}
section.cart_detail div.cd_container div.checkout_area div.total_price_pd h1 {
  font-size: 1.6vw;
  font-weight: bold;
}
section.cart_detail div.cd_container div.checkout_area div.total_price_pd h1.title {
  width: 50%;
  font-family: "DFHeiStd-W9";
}
section.cart_detail div.cd_container div.checkout_area div.total_price_pd h1.tprice {
  width: 50%;
  color: rgb(4, 112, 92);
  text-align: end;
}
section.cart_detail div.cd_container div.checkout_area div.shipping_fee {
  width: 23vw;
  margin-right: 10vw;
  display: flex;
  height: 4vw;
  align-items: center;
}
section.cart_detail div.cd_container div.checkout_area div.shipping_fee h1 {
  font-size: 1.6vw;
  font-weight: bold;
}
section.cart_detail div.cd_container div.checkout_area div.shipping_fee h1.title {
  width: 50%;
  font-family: "DFHeiStd-W9";
}
section.cart_detail div.cd_container div.checkout_area div.shipping_fee h1.tprice {
  width: 50%;
  color: rgb(4, 112, 92);
  text-align: end;
}
section.cart_detail div.cd_container div.checkout_area div.total_priceALL {
  width: 23vw;
  margin-right: 10vw;
  display: flex;
  height: 5vw;
  align-items: center;
}
section.cart_detail div.cd_container div.checkout_area div.total_priceALL h1 {
  font-weight: bold;
  font-family: "DFHeiStd-W9";
}
section.cart_detail div.cd_container div.checkout_area div.total_priceALL h1.title {
  width: 40%;
  font-size: 1.6vw;
}
section.cart_detail div.cd_container div.checkout_area div.total_priceALL h1.tprice {
  font-size: 2vw;
  width: 60%;
  color: rgb(4, 112, 92);
  text-align: end;
}
section.cart_detail div.cd_container div.checkout_area div.bar {
  border-bottom: 2px solid rgb(209, 209, 209);
  width: 23vw;
  height: 0;
  margin-top: 1vw;
  margin-right: 10vw;
}
section.cart_detail div.cd_container div.checkout_area div.verify_area {
  width: 23vw;
  margin-right: 10vw;
  margin-top: 2.5vw;
  height: 2.5vw;
  display: flex;
}
section.cart_detail div.cd_container div.checkout_area div.verify_area .captcha-text {
  font-weight: bold;
  font-family: "DFHeiStd-W9";
  font-size: 1.6vw;
  align-self: center;
  flex: 0 0 22%;
}
section.cart_detail div.cd_container div.checkout_area div.verify_area input {
  width: 9vw;
  height: 2vw;
  align-self: center;
}
section.cart_detail div.cd_container div.checkout_area div.verify_area #captcha-code {
  border: 1px solid rgb(0, 0, 0);
  background-color: #c2c2c2;
  margin-left: 1vw;
  align-self: center;
  width: 6.5vw;
  text-align: center;
  font-size: 1.5vw;
  font-weight: bold;
}
section.cart_detail div.cd_container div.checkout_area div.submit_order_area {
  width: 23vw;
  height: 3vw;
  margin-right: 10vw;
  margin-top: 3vw;
  display: flex;
  justify-content: center;
}
section.cart_detail div.cd_container div.checkout_area div.submit_order_area button.submit-order {
  border: none;
  border-radius: 5px;
  width: 60%;
  font-size: 2vw;
  font-weight: bold;
  color: white;
  letter-spacing: 0.2vw;
  background: linear-gradient(to right, rgb(250, 187, 105), rgb(255, 113, 0));
}
section.cart_detail div.cd_container div.checkout_area div.submit_order_area button.submit-order:hover {
  background: rgb(255, 113, 0);
}
section.cart_detail div.cd_container div.checkout_area div.submit_order_area button.submit-order:active {
  background: linear-gradient(to right, rgb(250, 187, 105), rgb(255, 113, 0));
}
@media (max-width: 768px) {
  section.cart_detail div.cd_container {
    padding-top: 60px;
  }
  section.cart_detail div.cd_container div.title_area {
    height: 20vw;
    align-self: center;
  }
  section.cart_detail div.cd_container div.title_area h1.title {
    font-size: 8vw;
    letter-spacing: 1.25vw;
    margin-top: 6vw;
  }
  section.cart_detail div.cd_container div.title_area p {
    font-size: 2.5vw;
    margin-top: 2vw;
    text-align: center;
  }
  section.cart_detail div.cd_container div.pd_info_area div.bar {
    margin-top: 6vw;
  }
  section.cart_detail div.cd_container div.pd_info_area div.text_mark_d {
    display: none;
  }
  section.cart_detail div.cd_container div.pd_info_area div.pd_info {
    height: 59vw;
    display: block;
    position: relative;
  }
  section.cart_detail div.cd_container div.pd_info_area div.pd_info img.pd_img_s {
    width: 33vw;
    height: 33vw;
    margin: 0;
    position: absolute;
    top: 10vw;
  }
  section.cart_detail div.cd_container div.pd_info_area div.pd_info div.name {
    margin: 0;
    position: absolute;
    left: 38vw;
    top: 15vw;
    display: flex;
    flex-direction: column;
    align-items: start;
    height: 10vw;
  }
  section.cart_detail div.cd_container div.pd_info_area div.pd_info div.name h1.main_pd_name {
    font-size: 5.5vw;
  }
  section.cart_detail div.cd_container div.pd_info_area div.pd_info div.name p.var_pd_name {
    font-size: 4vw;
    font-weight: bold;
    margin-top: 1.5vw;
  }
  section.cart_detail div.cd_container div.pd_info_area div.pd_info div.price {
    margin: 0;
    position: absolute;
    left: 38vw;
    top: 33vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 50vw;
  }
  section.cart_detail div.cd_container div.pd_info_area div.pd_info div.price p.oprice {
    font-size: 4.5vw;
    font-weight: bold;
    text-decoration: line-through;
  }
  section.cart_detail div.cd_container div.pd_info_area div.pd_info div.price h1.sprice {
    font-size: 5.5vw;
    font-weight: bold;
    margin-top: 0vw;
    margin-right: 2vw;
    color: rgb(4, 112, 92);
  }
  section.cart_detail div.cd_container div.pd_info_area div.pd_info div.quantity {
    margin: 0;
    position: absolute;
    top: 47vw;
    width: 46vw;
    height: 8vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  section.cart_detail div.cd_container div.pd_info_area div.pd_info div.quantity select.quantity-select {
    font-size: 2rem;
    width: 100%;
    height: 4rem;
    text-align: center;
  }
  section.cart_detail div.cd_container div.pd_info_area div.pd_info div.quantity div.qty_dropdown {
    width: 100%;
    height: 100%;
  }
  section.cart_detail div.cd_container div.pd_info_area div.pd_info div.quantity div.qty_dropdown div.dropdown {
    border: 2px solid rgb(204, 204, 204);
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
  }
  section.cart_detail div.cd_container div.pd_info_area div.pd_info div.quantity div.qty_dropdown div.dropdown .selected-option {
    font-size: 4vw;
    width: 90%;
    text-align: center;
  }
  section.cart_detail div.cd_container div.pd_info_area div.pd_info div.quantity div.qty_dropdown div.dropdown .dropdown-checkbox {
    display: none;
  }
  section.cart_detail div.cd_container div.pd_info_area div.pd_info div.quantity div.qty_dropdown div.dropdown .dropdown-button {
    border: none;
    border-left: 2px solid rgb(204, 204, 204);
    padding: 0;
    cursor: pointer;
    background: none;
    font-size: 4vw;
    width: 35%;
    height: 50%;
    text-align: center;
    margin-left: auto;
  }
  section.cart_detail div.cd_container div.pd_info_area div.pd_info div.quantity div.qty_dropdown div.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 70%;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    z-index: 1;
  }
  section.cart_detail div.cd_container div.pd_info_area div.pd_info div.quantity div.qty_dropdown div.dropdown .dropdown-menu li {
    padding: 1vw 0;
    font-size: 4vw;
    text-align: center;
    cursor: pointer;
  }
  section.cart_detail div.cd_container div.pd_info_area div.pd_info div.quantity div.qty_dropdown div.dropdown .dropdown-menu li:hover {
    background-color: #f0f0f0;
  }
  section.cart_detail div.cd_container div.pd_info_area div.pd_info div.quantity div.qty_dropdown div.dropdown .dropdown-checkbox:checked + .dropdown-button + .dropdown-menu {
    display: block;
  }
  section.cart_detail div.cd_container div.pd_info_area div.pd_info div.total_price {
    margin: 0;
    position: absolute;
    right: 0vw;
    bottom: 4vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  section.cart_detail div.cd_container div.pd_info_area div.pd_info div.total_price h1.tprice {
    font-size: 5.5vw;
    font-weight: bold;
    color: rgb(4, 112, 92);
  }
  section.cart_detail div.cd_container div.pd_info_area div.pd_info div.delete_item {
    margin: 0;
    position: absolute;
    right: 4vw;
    top: 11.5vw;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
  }
  section.cart_detail div.cd_container div.pd_info_area div.pd_info div.delete_item button {
    border: none;
    font-size: 4vw;
  }
  section.cart_detail div.cd_container div.checkout_area {
    align-items: center;
    margin-top: 11.5vw;
    padding-bottom: 48vw;
  }
  section.cart_detail div.cd_container div.checkout_area div.total_price_pd {
    width: 68%;
    margin: 0;
    height: 6vw;
  }
  section.cart_detail div.cd_container div.checkout_area div.total_price_pd h1 {
    font-size: 5vw;
  }
  section.cart_detail div.cd_container div.checkout_area div.total_price_pd h1.title {
    width: 50%;
  }
  section.cart_detail div.cd_container div.checkout_area div.total_price_pd h1.tprice {
    width: 50%;
    text-align: end;
  }
  section.cart_detail div.cd_container div.checkout_area div.shipping_fee {
    width: 68%;
    margin: 0;
    margin-top: 4vw;
    display: flex;
    height: 8vw;
  }
  section.cart_detail div.cd_container div.checkout_area div.shipping_fee h1 {
    font-size: 5vw;
  }
  section.cart_detail div.cd_container div.checkout_area div.shipping_fee h1.title {
    width: 50%;
  }
  section.cart_detail div.cd_container div.checkout_area div.shipping_fee h1.tprice {
    width: 50%;
    text-align: end;
  }
  section.cart_detail div.cd_container div.checkout_area div.total_priceALL {
    width: 68%;
    margin: 0;
    margin-top: 8vw;
    display: flex;
    height: 10vw;
  }
  section.cart_detail div.cd_container div.checkout_area div.total_priceALL h1 {
    font-weight: bold;
  }
  section.cart_detail div.cd_container div.checkout_area div.total_priceALL h1.title {
    width: 40%;
    font-size: 5vw;
  }
  section.cart_detail div.cd_container div.checkout_area div.total_priceALL h1.tprice {
    font-size: 5vw;
    width: 60%;
    text-align: end;
  }
  section.cart_detail div.cd_container div.checkout_area div.bar {
    border-bottom: 2px solid rgb(209, 209, 209);
    width: 80%;
    height: 0;
    margin: 0;
    margin-top: 7vw;
  }
  section.cart_detail div.cd_container div.checkout_area div.verify_area {
    width: 68%;
    margin: 0;
    margin-top: 7.5vw;
    height: 10vw;
    display: flex;
  }
  section.cart_detail div.cd_container div.checkout_area div.verify_area .captcha-text {
    font-size: 4.5vw;
    align-self: center;
    flex: 0 0 35%;
  }
  section.cart_detail div.cd_container div.checkout_area div.verify_area input {
    width: 12rem;
    height: 4rem;
    font-size: 2rem;
    align-self: center;
  }
  section.cart_detail div.cd_container div.checkout_area div.verify_area #captcha-code {
    border: 1px solid rgb(0, 0, 0);
    background-color: #c2c2c2;
    margin-left: 2vw;
    align-self: center;
    width: auto;
    height: auto;
    text-align: center;
  }
  section.cart_detail div.cd_container div.checkout_area div.verify_area #captcha-code span {
    font-size: 2rem;
  }
  section.cart_detail div.cd_container div.checkout_area div.submit_order_area {
    width: auto;
    height: 20vw;
    margin: 0;
    margin-top: 5vw;
    display: flex;
    justify-content: center;
  }
  section.cart_detail div.cd_container div.checkout_area div.submit_order_area button.submit-order {
    width: 65%;
    height: 15vw;
    font-size: 6vw;
    border: none;
    letter-spacing: 1vw;
    border-radius: 10px;
  }
}/*# sourceMappingURL=cart_detail.css.map */