.cart-container {
    padding: 0 5% 80px 5%;
    width: 100% !important;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 15px;
}

.discount-price {
    font-size: 18px;
    font-weight: 600;
    color: #162d56;
    margin-left: 10px;
}

.total-title {
    font-size: 26px !important;
    margin-bottom: 10px !important;
}

.promo-bar {
    background: #f9f1e5;
    color: #222;
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;

}

#countdown {
    color: #162d56;
    font-weight: 400;
    margin-left: 8px;
    min-width: 180px;
}

.promotion-wrapper{
    margin-top: 30px;
}
.promotion-wrapper>div{
    max-width: 50%;
    width: 100%;
}

.promotion-wrapper>div img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promotion-wrapper p{
    font-size: 15px;
}
.promotion-wrapper p a{
    color: #162d56;
}

.pro-star {
    display: flex;
    align-items: center;
    font-size: 28px;
    gap: 2px;
}

.pro-star .star {
    color: #cfd3dc;
    transition: color 0.2s;
    font-size: 20px;
}

.pro-star .star.active {
    color: #ffb800;
}

.pro-star .star-count {
    color: #b0b5c3;
    font-size: 17px;
    margin-left: 8px;
}

.view-more{
    position: absolute;
    right: 0;
    top: 0;
}

.view-more a{
    font-size: 14px !important;
}

.qua-input{
    position: relative !important;
    height: 48px !important;
    width: 48px !important;
    padding: 0 !important;
    margin: 0 25px 0 0 !important;
    line-height: 48px !important;
    outline: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    text-align: center !important;
    user-select: none !important;
    color: #2a2a2a !important;
    background-color: #fff !important;
    border: 2px solid #2a2a2a !important;
}

/* 複製 */
.cart-header-bar {
    background: #f7f7f7;
    border-radius: 8px 8px 0 0;
    padding: 18px 24px 12px 24px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ececec;
  }
  .cart-header-title {
    font-size: 18px;
    font-weight: 700;
    color: #162d56;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .cart-share-btn {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    margin-left: 8px;
    padding: 4px 6px;
    border-radius: 50%;
    transition: background 0.15s;
    display: flex;
    align-items: center;
  }
  .cart-share-btn:hover {
    background: #ececec;
  }
  .cart-copy-tip {
    background: #e6f7e6;
    color: #2e7d32;
    border-radius: 8px;
    padding: 12px 20px;
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 500;
    display: none;
    animation: fadeIn 0.3s;
  }
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px);}
    to { opacity: 1; transform: translateY(0);}
  }

  /* 進度條 */
  .free-shipping-bar {
    background: #fffbe7;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(255,179,0,0.08);
    padding: 12px 22px 16px 22px;
    margin: 18px 0 18px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
  .fsb-text {
    color: #e53900;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
  }
  .fsb-progress {
    background: #f0e6c0;
    border-radius: 6px;
    height: 10px;
    width: 100%;
    overflow: hidden;
  }
  .fsb-progress-inner {
    background: linear-gradient(90deg, #ffb300 0%, #ffe082 100%);
    height: 100%;
    border-radius: 6px;
    width: 0;
    transition: width 0.4s;
  }

  
.banner-wrapper .one-banner{
  padding: 0 5%;
  width: 100%;
  height: 400px;
  position: relative;
  margin-bottom: 30px;
}

.banner-wrapper .one-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart_totals{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: -40px !important;
}
.cart-shipping th,.cart-subtotal th{
  font-size: 20px !important;
}
.order-total th{
  color: #162d56 !important;
}
.order-total td{
  font-size: 20px !important;
  color: #162d56 !important;
}


#qodef-page-inner{
  padding: 0 !important;
}

@media screen and (min-width:868px) {
	.woocommerce-Price-amount.amount{
		display:inline-block; min-width:105px;
	}
}



@media screen and (max-width:768px) {
  #qodef-page-outer{
      margin-top: 110px;
  }

  .qodef-page-title .qodef-m-content, .qodef-page-title .qodef-m-content.qodef-content-full-width{
    padding-left: 3%;
    padding-right: 3%;
  }

  .qodef-page-title{
    height: 70px;
  }

  .banner-wrapper .one-banner{
    height: 160px !important;
    padding: 0 3%;
  }

  .promo-bar{
    flex-direction: column;
    margin-left: 3%;
    margin-right: 3%;
  }

  .cart-container{
    padding: 0 3% 0px 3%;
  }

  .free-shipping-bar{
    margin: 15px 0;
  }

  #qodef-woo-page.qodef--cart .shop_table td.product-name a{
    font-size: 13px;
  }
  .discount-price{
    font-size: 15px;
  }
  .original-price{
    font-size: 13px;
  }

  .product-price>span{
    display: flex;
    flex-direction: column;
  }

  .qua-input{
    height: 40px !important;
    width: 40px !important;
  }
  #qodef-woo-page .qodef-quantity-buttons .qodef-quantity-plus{
    height: 23px;
  }

  #qodef-woo-page .qodef-quantity-buttons .qodef-quantity-minus::after,#qodef-woo-page .qodef-quantity-buttons .qodef-quantity-plus::after{
    width: 13px;
    height: 13px;
  }
  #qodef-woo-page .qodef-quantity-buttons .qodef-quantity-minus::after{
    top: 13px;
  }

  .cart_totals{
    margin-top: 0px !important;
  }

  #qodef-woo-page.qodef--cart .shop_table td.actions input[type=text]{
    font-size: 15px;
  }

  .total-title{
    font-size: 20px !important;
    margin-bottom: 5px !important;
  }
  .woocommerce-page div.woocommerce .shop_table th{
    font-size: 18px;
  }
  .cart-shipping th, .cart-subtotal th{
    font-size: 16px !important;
  }
  .cart-header-bar{
    padding: 15px 18px;
  }
  .cart-share-btn{
    margin-left: 0;
  }
  .cart-share-btn svg{
    width: 18px;
    height: 18px;
  }
  .order-total th{
    font-size: 18px !important;
  }
  .order-total td{
    font-size: 18px !important;
  }
  .wc-proceed-to-checkout a{
    padding: 8px 40px 8px 50px !important;
  }
  #qodef-woo-page.qodef--single .related>h2{
    font-size: 20px;
  }

  .pro-star .star{
    font-size: 17px;
  }
  .pro-star .star-count{
    font-size: 15px;
  }
  .qodef-woo-product-list .qodef-e-content{
    padding: 10px 0 0;
  }
  .cart_totals{
    align-items: flex-start;
  }
  .cart_totals table{
    width: 100% !important;
  }

  #qodef-woo-page.qodef--cart .shop_table td.actions .coupon{
    flex-wrap: nowrap;
  }
  #qodef-woo-page.qodef--cart .shop_table td.actions .coupon>input{
    width: 100%;
  }
  #qodef-woo-page.qodef--cart .shop_table td.actions .coupon>button{
    width: auto;
    white-space: nowrap;
  }
  #qodef-woo-page.qodef--cart .shop_table td.product-thumbnail{
   display: inline-block;
   width: 50px;
  }
  .woocommerce-page div.woocommerce .shop_table th{
    padding-left: 0;
  }

  .woocommerce-page div.woocommerce .shop_table td{
    padding-left: 0;
  }
}