@charset "UTF-8";
span.discount-price.original-price,
span.discount-price.save-price {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .coupons-discount-codes-container > div {
    width: 90%;
    position: fixed;
    padding: 16px;
    max-height: 65%;
  }
}
.coupons-discount-codes-container > div form button {
  background-color: #F4F4F2;
}
.coupons-discount-codes-container > div #applied-coupons-container {
  overflow-x: hidden;
}
@media (max-width: 767px) {
  .coupons-discount-codes-container > div #applied-coupons-container {
    height: 70vh;
  }
}
@media (max-width: 767px) {
  .coupons-discount-codes-container > div #applied-coupons-container > div {
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 10px;
  }
}
.coupons-discount-codes-container > div #applied-coupons-container ul {
  align-content: flex-end;
}
@media (max-width: 767px) {
  .coupons-discount-codes-container > div #applied-coupons-container ul li > div .left-container {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ddd;
  }
}
@media (max-width: 767px) {
  .coupons-discount-codes-container > div #applied-coupons-container ul li > div .right-container {
    padding: 0;
    width: 100%;
  }
}
@media (max-width: 767px) {
  .coupons-discount-codes-container > div #applied-coupons-container ul li > div .right-container > div .left {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .woocommerce #content table.cart .product-thumbnail,
  .woocommerce table.cart .product-thumbnail,
  .woocommerce-page #content table.cart .product-thumbnail,
  .woocommerce-page table.cart .product-thumbnail {
    display: block !important;
  }
}
@media (max-width: 767px) {
  .woocommerce #content table.cart .product-thumbnail:before,
  .woocommerce table.cart .product-thumbnail:before,
  .woocommerce-page #content table.cart .product-thumbnail:before,
  .woocommerce-page table.cart .product-thumbnail:before {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .woocommerce table.shop_table_responsive tr td::before,
  .woocommerce-page table.shop_table_responsive tr td::before {
    color: var(--secondary, #80746a);
    /* body */
    font-family: "Noto Sans TC";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 100px;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .woocommerce-cart-form {
    order: 2;
  }
}

.woocommerce-cart-form-container > div {
  width: 1280px;
  margin: 0 auto;
  gap: 30px;
  margin-bottom: 100px;
  max-width: 100%;
  color: var(--gray-1, #595757);
  font-feature-settings: "liga" off, "clig" off;
  font-family: "Noto Sans TC";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 1px;
}
@media (max-width: 767px) {
  .woocommerce-cart-form-container > div {
    flex-direction: column;
    margin-bottom: 24px;
  }
}
.woocommerce-cart-form-container > div > div:first-child {
  width: 64.61%;
}
@media (max-width: 767px) {
  .woocommerce-cart-form-container > div > div:first-child {
    width: 90%;
    margin: 0 auto;
    flex-direction: column-reverse;
  }
}
.woocommerce-cart-form-container > div > div:first-child table.shop-table-cart {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
@media (max-width: 767px) {
  .woocommerce-cart-form-container > div > div:first-child table.shop-table-cart {
    table-layout: fixed;
    border-collapse: collapse !important;
  }
}
.woocommerce-cart-form-container > div > div:first-child table.shop-table-cart thead tr {
  height: 54px;
}
@media (max-width: 767px) {
  .woocommerce-cart-form-container > div > div:first-child table.shop-table-cart thead tr {
    border: 1px solid #ddd;
  }
}
.woocommerce-cart-form-container > div > div:first-child table.shop-table-cart thead tr th {
  background: var(--background-gray, #f5f4f2);
  border: 1px solid #fff;
  color: var(--gray-1, #595757);
  font-feature-settings: "liga" off, "clig" off;
  /* 內文/small */
  font-family: "Noto Sans TC";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 21px */
  letter-spacing: 1px;
}
@media (max-width: 767px) {
  .woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr {
    border: 1px solid #ddd;
    height: unset !important;
    background-color: #f9f9f9 !important;
    padding: 10px;
    margin-bottom: 10px !important;
  }
}
.woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) {
  height: 124px;
}
.woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) .free-item-description {
  color: #aaa;
  font-size: 12px;
}
.woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) td {
  border: 1px solid #fff;
  height: 54px;
  width: 160px;
  text-align: center;
  vertical-align: middle;
}
@media (max-width: 768px) {
  .woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) td {
    width: 100%;
    text-align: left !important;
    height: unset !important;
    border: none !important;
    background-color: transparent !important;
    padding: 10px 0;
  }
}
.woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) td.product-thumbnail {
  width: 130px;
}
@media (max-width: 768px) {
  .woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) td.product-thumbnail {
    width: 100%;
    aspect-ratio: 3.5/1;
  }
}
.woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) td.product-thumbnail a {
  display: inline-flex;
  width: 100%;
  aspect-ratio: 1/1;
}
@media (max-width: 768px) {
  .woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) td.product-thumbnail a {
    width: 100%;
    aspect-ratio: 3.5/1;
  }
}
.woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) td.product-thumbnail a img {
  width: 100%;
  aspect-ratio: 1/1;
}
.woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) td.product-name {
  width: 250px;
  padding: 0 20px;
  color: var(--gray-1, #595757);
  font-feature-settings: "liga" off, "clig" off;
  /* 內文/body */
  font-family: "Noto Sans TC";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 24px */
  letter-spacing: 1px;
}
@media (max-width: 768px) {
  .woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) td.product-name {
    width: 100%;
    text-align: right;
    padding: 10px 0;
  }
}
.woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) td.product-name a {
  color: var(--gray-1, #595757);
  font-feature-settings: "liga" off, "clig" off;
  /* 內文/body */
  font-family: "Noto Sans TC";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 24px */
  letter-spacing: 1px;
}
.woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) td.product-price .amount {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) td.product-price .amount {
    justify-content: end;
  }
}
.woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) td.product-quantity .quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  /* 移除 Firefox 的上下箭头 */
}
.woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) td.product-quantity .quantity button {
  background-color: #f5f4f2;
  width: 30px;
  height: 46px;
  border: none;
  border-radius: 10px 0 0 10px;
}
.woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) td.product-quantity .quantity button.plus {
  border-radius: 0 10px 10px 0;
}
.woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) td.product-quantity .quantity input {
  height: 46px;
  border: none;
  background-color: #f5f4f2;
  text-align: center;
  flex: 1;
}
.woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) td.product-quantity .quantity input[type=number]::-webkit-outer-spin-button,
.woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) td.product-quantity .quantity input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) td.product-quantity .quantity input[type=number] {
  -moz-appearance: textfield;
}
.woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) td.product-quantity a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--primary, #ee7836);
  /* body */
  font-family: "Noto Sans TC";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
@media (max-width: 768px) {
  .woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) td.product-quantity a {
    justify-content: end;
  }
}
.woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) td.product-subtotal .amount {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr:not(.droduct_discount_message_optimized) td.product-subtotal .amount {
    justify-content: end;
  }
}
@media (max-width: 767px) {
  .woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr.droduct_discount_message_optimized {
    background-color: #fff !important;
    border: none !important;
  }
}
.woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr.droduct_discount_message_optimized td {
  text-align: left !important;
}
.woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr.droduct_discount_message_optimized td::before {
  display: none !important;
}
.woocommerce-cart-form-container > div > div:last-child {
  width: 32.26%;
}
@media (max-width: 767px) {
  .woocommerce-cart-form-container > div > div:last-child {
    width: 90%;
    margin: 0 auto;
  }
}
.woocommerce-cart-form-container > div > div:last-child .cart_totals > div.cart-totals-container {
  background: var(--background-gray, #f5f4f2);
  padding: 20px 20px 30px 20px;
}
.woocommerce-cart-form-container > div > div:last-child .cart_totals > div.cart-totals-container h3 {
  color: var(--gray-1, #595757);
  font-feature-settings: "liga" off, "clig" off;
  /* 內文/small */
  font-family: "Noto Sans TC";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 21px */
  letter-spacing: 1px;
  text-align: center;
  height: 54px;
  height: 41px;
  line-height: 41px;
  background-color: #fff;
  margin: 0 0 24px 0;
}
.woocommerce-cart-form-container > div > div:last-child .cart_totals > div.cart-totals-container .checkout-button {
  width: 100%;
  border-radius: 10px;
  text-align: center;
  padding: 12px 24px;
  background: var(--primary, #ee7836);
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  margin-top: 40px;
}

.discount-codes-container > div {
  background: var(--background-gray, #f5f4f2);
  padding: 20px;
  margin-bottom: 24px;
  width: 100%;
}
.discount-codes-container > div span {
  color: var(--gray-1, #595757);
  font-feature-settings: "liga" off, "clig" off;
  /* 內文/small */
  font-family: "Noto Sans TC";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 21px */
  letter-spacing: 1px;
}
.discount-codes-container > div button,
.discount-codes-container > div .button{
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-1, #595757);
  border-radius: 48px;
  border: 1px solid var(--secondary, #80746a);
  padding: 4px 10px 4px 16px;
  color: var(--secondary, #80746a);
  font-family: "Noto Sans TC";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  /* 14px */
  background-color: transparent;
}

h1 {
  display: none;
}

@media (max-width: 767px) {
  #step-container > div ol {
    width: 90%;
    margin: 0 auto;
    padding: 0 !important;
  }
}

.woocommerce-notices-wrapper {
  width: 1200px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .woocommerce-notices-wrapper {
    max-width: 90%;
  }
}

.form-check-input:focus,
.form-check-input:active {
  border-color: rgba(238, 120, 54, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(238, 120, 54, 0.25);
  background-color: var(--primary, #ee7836);
}

.form-check-input:checked {
  border-color: rgba(238, 120, 54, 0.25);
  background-color: var(--primary, #ee7836);
}

.form-check-input:focus,
.form-check-input:active {
  border-color: rgba(238, 120, 54, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(238, 120, 54, 0.25);
  background-color: var(--primary, #ee7836);
}

.form-check-input:checked {
  border-color: rgba(238, 120, 54, 0.25);
  background-color: var(--primary, #ee7836);
}

.form-check-input:focus,
.form-check-input:active {
  border-color: rgba(238, 120, 54, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(238, 120, 54, 0.25);
  background-color: var(--primary, #ee7836);
}

.form-check-input:checked {
  border-color: rgba(238, 120, 54, 0.25);
  background-color: var(--primary, #ee7836);
}

table td,
table td label,
table td bdi {
  color: var(--gray-1, #595757);
  font-feature-settings: "liga" off, "clig" off;
  /* 內文/small */
  font-family: "Noto Sans TC";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 21px */
  letter-spacing: 1px;
}

.fee td,
.tax-total td {
  padding-bottom: 24px;
}

.cart-discount:not(.first-coupon) td {
  margin-top: 24px;
}

.shipping hr {
  margin: 24px 0;
}

.shipping p {
  margin-bottom: 24px;
}

.continue-shopping-button {
  border-radius: 48px;
  border: 1px solid var(--secondary, #80746a);
  background-color: transparent;
}
@media (max-width: 767px) {
  .continue-shopping-button {
    order: 3;
    margin-bottom: 30px;
  }
}
.continue-shopping-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--secondary, #80746a);
  /* headline 3 */
  font-family: "Noto Sans TC";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 1px;
  padding: 11px 24px;
  display: inline-flex;
}

.designhu-cart-applied-coupons h4 {
  color: var(--gray-1, #595757);
  /* headline 3 */
  font-family: "Noto Sans TC";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 1px;
}
.designhu-cart-applied-coupons .content *:not(i) {
  color: var(--secondary, #80746a);
  /* small 1 */
  font-family: "Noto Sans TC";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  /* 12px */
  letter-spacing: 1px;
}

.designhu-cart-applied-coupons-message {
  margin-top: 40px;
}
@media (max-width: 767px) {
  .designhu-cart-applied-coupons-message {
    order: 1;
  }
}
.designhu-cart-applied-coupons-message.is-mobile {
  display: none;
}
@media (max-width: 767px) {
  .designhu-cart-applied-coupons-message.is-mobile {
    display: block !important;
  }
}
.designhu-cart-applied-coupons-message *:not(i) {
  color: var(--secondary, #80746a);
  /* headline 3 */
  font-family: "Noto Sans TC";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 1px;
}
.designhu-cart-applied-coupons-message > div {
  padding: 24px;
  border-radius: 10px;
  border: 2px solid var(--primary, #ee7836);
  background: var(--white, #fff);
}

.ulife-cart-total-free-shipping {
  color: var(--gray-1, #595757);
  font-feature-settings: "liga" off, "clig" off;
  font-family: "Noto Sans TC";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 1px;
}

.ulife-cart-product-cat-discount-title {
  color: #ee7836;
}

.cart-form-container i.fa-circle-check {
  color: #7ed321;
}
.cart-form-container i.fa-circle-info {
  color: #ee7836;
}
@media (max-width: 767px) {
  .cart-form-container > div {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
}

.ulife-cart-total-shipping-message-container {
  padding: 16px;
  background: #f5f4f2;
  margin: 24px 0;
  color: var(--gray-1, #595757);
  font-feature-settings: "liga" off, "clig" off;
  font-family: "Noto Sans TC";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 1px;
}
@media (max-width: 768px) {
  .ulife-cart-total-shipping-message-container {
    margin: 0;
  }
}
.ulife-cart-total-shipping-message-container.free-shipping {
  background: #fff;
  margin: 0;
  padding: 0px;
}
@media (max-width: 768px) {
  .ulife-cart-total-shipping-message-container.free-shipping {
    padding: 0px;
  }
}
.ulife-cart-total-shipping-message-container .tag {
  color: rgb(255, 83, 83);
  background-color: #FFF2F2;
  font-size: 12px;
  padding: 5px;
}
.ulife-cart-total-shipping-message-container .tag.pending {
  background-color: #eee;
  color: #ccc;
}
.ulife-cart-total-shipping-message-container i.fa-circle-check {
  color: #7ed321;
}
.ulife-cart-total-shipping-message-container i.fa-circle-info {
  color: #ee7836;
}

.ulife-cart-table-form-container table tbody tr td {
  padding-left: 16px;
}
@media (max-width: 768px) {
  .ulife-cart-table-form-container table tbody tr td {
    padding: 0;
  }
}

.woocommerce-cart table.cart img {
  width: auto !important;
  height: auto !important;
  background-color: #fff;
}

/* 滑動操作功能樣式 */
.woocommerce-cart-form__cart-item {
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .woocommerce-cart-form__cart-item {
    /* 確保在手機模式下可以滑動 */
    touch-action: pan-y;
    user-select: none;
  }
}
@media (max-width: 767px) {
  .woocommerce-cart-form__cart-item .cart_item {
    order: 3;
  }
}

@media (max-width: 767px) {
  .woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr td.product-price .amount,
  .woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr td.product-quantity .quantity,
  .woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr td.product-quantity a,
  .woocommerce-cart-form-container > div > div:first-child table.shop-table-cart tbody tr td.product-subtotal .amount {
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  .swipe-actions {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    display: flex;
    z-index: 1;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
}
@media (min-width: 769px) {
  .swipe-actions {
    display: none;
  }
}

@media (max-width: 768px) {
  .swipe-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 100%;
    border: none;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  .swipe-action-btn svg {
    margin-bottom: 4px;
  }
  .swipe-action-btn span {
    font-family: "Noto Sans TC";
  }
  .swipe-action-btn.delete-btn {
    background-color: #ee7836;
  }
  .swipe-action-btn.delete-btn:hover {
    background-color: #e67e22;
  }
  .swipe-action-btn.delete-btn:active {
    background-color: #d35400;
  }
}

/* 滑動狀態 */
@media (max-width: 768px) {
  .woocommerce-cart-form__cart-item.swiped .swipe-actions {
    transform: translateX(0);
  }
}

/* 滑動提示動畫 */
.woocommerce-cart-form__cart-item.swiped:not(.not-swipe) .ulife-product-item-container .product-details {
  transform: translateX(-160px);
}
.woocommerce-cart-form__cart-item.swiped:not(.not-swipe) .ulife-product-item-container .product-thumbnail {
  transform: translateX(-160px);
}

@keyframes swipeHint {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-20px);
  }
}
.ulife-cart-total-shipping-message-container.free-shipping {
  background-color: rgb(244, 244, 242);
  padding: 16px;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .ulife-cart-total-shipping-message-container.free-shipping {
    margin-bottom: 24px;
  }
}

/* 移除原本表格的邊框和樣式 */
.woocommerce .shop_table.cart {
  border: none;
  background-color: transparent;
}

.woocommerce .shop_table.cart tbody {
  display: block;
  /* 讓 tbody 表現得像個 div */
}

/* 主要的購物車項目容器，使用 Flexbox */
.cart_item {
  display: flex;
  flex-wrap: nowrap;
  /* 確保不換行 */
  align-items: flex-start;
  /* 頂部對齊 */
  gap: 16px;
  /* 圖片和右側內容的間距 */
  padding: 24px 0;
  border-bottom: 1px solid #e0e0e0;
  background-color: #F4F4F2;
  padding: 16px;
}

.cart_item:last-child {
  border-bottom: none;
}

.cart_item:last-child {
  border-bottom: none;
}

.cart_item .product-thumbnail {
  flex: 0 0 100px;
  line-height: 0;
}

.cart_item .product-thumbnail a {
  display: block;
}

.cart_item .product-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  background-color: #fff;
  /* 圖片圓角 */
}

.cart_item .product-details {
  flex: 1 1 auto;
  /* 佔滿剩餘空間 */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100px;
}

/* 頂部區塊 (標題 + 移除按鈕) */
.cart_item .product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

/* 2. 商品標題 */
.cart_item .product-name {
  font-size: 16px;
  font-weight: 500;
}

.cart_item .product-name a {
  color: #333;
  text-decoration: none;
}

.cart_item .product-name a:hover {
  color: #c95e20;
  /* 參考您圖片上的橘色 */
}

/* 移除按鈕 (X) */
.cart_item .product-remove .remove {
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  line-height: 1;
  background-color: transparent !important;
}

.cart_item .product-remove .remove:hover {
  color: #999 !important;
}

/* 底部區塊 (價格 + 數量) */
.cart_item .product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}
@media (max-width: 767px) {
  .cart_item .product-footer {
    gap: 8px;
  }
}

/* 3. 商品金額 */
.cart_item .product-price {
  font-size: 18px;
  font-weight: bold;
  color: #d9534f;
  /* 紅色，更醒目 */
}

.cart_item .product-price .woocommerce-Price-amount {
  color: inherit;
}

/* 4. 數量控制器 */
.cart_item .product-quantity .quantity {
  display: flex;
  align-items: center;
}

/* 隱藏 WooCommerce 預設的數量標籤 */
.cart_item .product-quantity .quantity label {
  display: none;
}

.cart_item .product-quantity .quantity .qty {
  width: 40px;
  text-align: center;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-left: none;
  border-right: none;
  -moz-appearance: textfield;
  border-radius: 0;
  height: 28px;
}

/* 移除 Webkit 瀏覽器 (Chrome, Safari) 的上下箭頭 */
.cart_item .product-quantity .quantity .qty::-webkit-inner-spin-button,
.cart_item .product-quantity .quantity .qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* 針對 WooCommerce 預設的 + - 按鈕進行樣式調整 (如果您的主題有提供) */
/* 如果您的主題沒有 + - 按鈕，您可能需要透過 JavaScript 或其他外掛來新增 */
.cart_item .quantity .plus,
.cart_item .quantity .minus {
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border: 1px solid #ccc;
  background: #f9f9f9;
  cursor: pointer;
  user-select: none;
  color: rgb(192, 185, 181);
}

/* 滑動操作功能樣式 */
.woocommerce-cart-form__cart-item {
  position: relative;
  overflow: hidden;
}

span.free-item-description {
  font-size: 13px;
  color: #aaa;
}

.woocommerce a.remove {
  font-size: 16px !important;
  color: #999 !important;
}

@media (max-width: 768px) {
  .not-mobile {
    display: none;
  }
  .woocommerce-cart-form__cart-item {
    /* 確保在手機模式下可以滑動 */
    touch-action: pan-y;
    user-select: none;
  }
  .ulife-product-item-container {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    will-change: transform;
  }
  .swipe-actions {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    display: flex;
    z-index: 1;
    transform: translateX(120%);
    transition: transform 0.3s ease;
  }
  .swipe-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 100%;
    border: none;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: "Noto Sans TC";
  }
  .swipe-action-btn svg {
    margin-bottom: 4px;
  }
  .swipe-action-btn.favorite-btn {
    background-color: #ee7836;
  }
  .swipe-action-btn.delete-btn {
    background-color: #999999 !important;
  }
  /* 滑動狀態 */
  .woocommerce-cart-form__cart-item.swiped .swipe-actions {
    transform: translateX(16px);
  }
  /* 滑動提示動畫 */
  .woocommerce-cart-form__cart-item.swipe-hint .ulife-product-item-container {
    animation: swipeHint 1s ease-in-out;
  }
  @keyframes swipeHint {
    0%, 100% {
      transform: translateX(0);
    }
    50% {
      transform: translateX(-20px);
    }
  }
}
.parent-product-is_addon {
  background: #FFF2F2;
  color: #ee7836;
  padding: 0 5px;
  margin-top: 5px;
  display: inline-flex;
  border-radius: 5px;
  font-size: 12px;
}

/* --- 手機版購物車項目左滑功能樣式 --- */
/* 只在手機螢幕上應用這些樣式 */
@media (max-width: 767px) {
  .woocommerce-cart-form__cart-item.is-swiped .ulife-product-item-container {
    transform: translateX(-177px);
  }
}
/* 優惠券卡片 */
.modern-coupon {
  position: relative;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem; /* 12px */
  display: flex;
  flex-direction: column;
  width: 95%;
  /* 製作票券缺口的偽元素 */
  /* 卡片上半部 */
  /* 左側視覺區塊 */
  /* "線上限定" 標籤 */
  /* 主要折扣標題 */
  /* 右側文字說明區 */
  /* 分隔線與下半部 */
}
@media (max-width: 767px) {
  .modern-coupon {
    width: 100%;
  }
}
.modern-coupon::before, .modern-coupon::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #f0f2f5;
  border-radius: 50%;
  /* 60% 是上半部區塊的大約高度，-10px 是半徑 */
  top: calc(60% + 8px);
}
.modern-coupon::before {
  left: -10px;
}
.modern-coupon::after {
  right: -10px;
}
.modern-coupon .coupon-top-section {
  display: flex;
  padding: 1rem; /* 16px */
  flex-basis: 60%;
}
.modern-coupon .coupon-main {
  margin-right: 1rem; /* 16px */
  position: relative;
  width: 6rem; /* 96px */
  height: 6rem; /* 96px */
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 767px) {
  .modern-coupon .coupon-main {
    display: none;
  }
}
.modern-coupon img {
  aspect-ratio: 1/1;
}
.modern-coupon .tag {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #000;
  color: #fff;
  font-size: 0.75rem; /* 12px */
  font-weight: 700;
  padding: 0.25rem 1rem 0.25rem 0.5rem; /* 4px 8px */
  border-top-left-radius: 0.5rem; /* 8px */
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}
.modern-coupon .title {
  text-align: center;
  color: #fff;
  font-weight: 700;
}
.modern-coupon .title .amount {
  font-size: 3rem; /* 48px */
}
.modern-coupon .title .unit {
  font-size: 1.5rem; /* 24px */
}
.modern-coupon .info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.modern-coupon .info-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.modern-coupon .name {
  font-size: 1.5rem; /* 24px */
  font-weight: 700;
  color: #1f2937;
}
@media (max-width: 767px) {
  .modern-coupon .name {
    font-size: 1.1rem;
    margin: 0;
  }
}
.modern-coupon .subtitle {
  font-size: 0.875rem; /* 14px */
  color: #4b5563;
  margin-top: 0.5rem; /* 8px */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.modern-coupon .description {
  font-size: 0.75rem; /* 12px */
  color: #9ca3af;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}
.modern-coupon .coupon-bottom-section {
  border-top: 2px dashed #e5e7eb;
  flex-basis: 40%;
  padding: 1rem; /* 16px */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FCFCFC;
}
.modern-coupon .expiry {
  font-size: 0.875rem; /* 14px */
  color: #6b7280;
}
.modern-coupon .expiry span {
  font-weight: 600;
  color: #ee7836;
}

.coupons-discount-codes-container > div #applied-coupons-container ul li .icon {
  left: -33px;
}
@media (max-width: 767px) {
  .coupons-discount-codes-container > div #applied-coupons-container ul li .icon {
    left: 10px;
    top: 24px;
  }
}

@media (max-width: 767px) {
  .modern-coupon::before, .modern-coupon::after {
    display: none;
  }
}

@media (max-width: 767px) {
  .coupons-discount-codes-container > div #applied-coupons-container ul li > div.coupon-bottom-section {
    padding: 10px 20px 10px 40px;
  }
}

#wpadminbar{overflow: hidden;	}


.ulife-apply-coupon-btn{
background: #ee7836!important;
color: #fff!important;
}