@charset "UTF-8";
/*@import 'variables';*/
/*
.woocommerce ul.products li.product .button{
    margin-top: 0.5rem;
}

.woocommerce ul.products li.product .price{
    margin-bottom: 0;
}

.woocommerce ul.products li.product{

  span.price{
    color: $color-orange;
    font-size: 24px;
    font-weight: bold;
    min-height: 61px;


    .discount-price-display{
      color: $color-price-discounted-discount;
    }


    del{
      font-weight: 500;
      color: $color-price-discounted-original;
      .original-price-display{
        margin-left: 10px;
        color: $color-price-discounted-original;
        font-size: 14px;
      }
    }
  }

  .woocommerce-loop-product__title {
    font-size: 18px !important;
    text-decoration: none;
    color: #333333;
    font-weight: bold;
  }
}

.woocommerce ul.products li.product{
  text-align: center;


  h2{
    min-height: 60px;
    line-height: 22px;
    //overflow: hidden;
  }

  .merchant-name{
    font-size: 14px;
    color: #787878;
    padding-top: 6px;
  }

  .button{
    font-weight: 500;
  }

  &.outofstock{
    .button{
      background-color: $color-add-to-cart-disabled;
      pointer-events: none;
      cursor: not-allowed;
      color: #FFFFFF;
    }
  }

  .product-img-wrapper{
        max-width: 300px;
        max-height: 300px;
        overflow: hidden;

        img.attachment-woocommerce_thumbnail,
        .woocommerce-placeholder{

            display: block;
            margin: 0 0 1em;
            box-shadow: none;
            border: 1px solid #ccc;
        }

    .product-tag-wrapper{
      position:absolute;

      .product-tag{
        color: #ffffff;
        min-width: 85px;
        padding: 3px 5px;
        text-align: center;
        border-bottom-left-radius: 15px;


        &.tag-color-orange{
          background-color: $tag-color-orange;
        }
        &.tag-color-yellow{
          background-color: $tag-color-yellow;
        }
        &.tag-color-grey{
          background-color: $tag-color-grey;
        }
        &.tag-color-red{
          background-color: $tag-color-red;
        }
        &.tag-color-grey-dark{
          background-color: $tag-color-grey-dark;
          color: #FFFFFF !important;
        }
        &.tag-color-light-blue{
          background-color: $tag-color-light-blue;
        }
      }
      &.top-right{
        top: 9px;
        right: 10px;
        top: 0;
        right: 0;
      }
      &.bottom-left{
        bottom: 2%;
        transform: translateY(-50%);
        left: 10px;
        .product-tag{
          color: #333333;
          padding: 2px 15px;
        }
      }
    }
  }

  div.tinv-wishlist.tinvwl-above_thumb-add-to-cart{
      right: 10px;
        right: unset;
        top: 0;
        left: unset;

    a{
      &::before{
        color: $color-wish-list-heart-inactive;
        font-size: 30px;
      }

      &.tinvwl-product-in-list::before{
        color: $color-wish-list-heart-active;
      }
    }
  }

  .button{
    border-radius: 25px;
    padding: 5px 12px;
    background-color: #fff;
    color: $dark-yellow;
    font-size: 16px;
    line-height: 32px;
    border: 1px solid $dark-yellow !important;

  }
}

body.home li.product{
  .add_to_cart_button{
    display: none !important;
  }
  .button{
    display: none !important;
  }
}

.products .product .woocommerce.tinv-wishlist{
    display: none !important;
}

table.shop_table{
  border-left: none !important;
  border-right: none !important;
  margin-bottom: 0 !important;
  width: 100% !important;
}

.product-list{

  .footer-note{
    width: 100%;
    border-bottom: 1px solid #D6D6D6;
    padding: 25px 0;
    font-size: 18px;
    color: #333333;

    .row-item{
      display: flex;
      justify-content: space-between;
      margin-bottom: 20px;
    }
  }

  .product-list-item{

    .name{
      a{
        text-decoration: none;
        font-size: 18px;
        font-weight: 500;
        line-height: 25px;
        color: #333333;
        &:hover, &:focus{
          text-decoration: none;
        }
      }
    }

    &.display-type-2{
      .product-thumbnail{
        width: 1px;

        img{
          width: 145px;
          min-width: 145px;
          padding: 20px;
          background-color: #ffffff;
        }
      }
      .product-detail{
        padding-left: 15px !important;
        .name{
          font-size: 18px;
          font-weight: 500;
          line-height: 25px;
          color: #333333;
        }
        .small-item{
          font-size: 14px;
          color: #383838;
        }
      }
      .product-total{
        color: $color-orange;
        font-size: 20px;
        font-weight: 500;
        vertical-align: top;
        text-align: right;
      }
    }

    div{
      padding-bottom: 5px;
    }
    &:first-of-type{
      border-top: 1px solid #D6D6D6;
    }
    border-bottom: 1px solid #D6D6D6;

    .product-thumbnail{
        img{
          width: 120px;
          min-width: 120px;
          padding: 10px;
          background-color: #ffffff;
        }
    }

    .product-meta-name{
      font-size: 18px;
      font-weight: bold;
      color: #333333;
      line-height: 25px;
    }

    .product-meta-sdk{
      font-size: 14px;
      color: #787878;
      line-height: 22px;
    }

    .product-meta-price-container{
      font-size: 18px;
      font-weight: bold;
      color: #9E0A0F;
      padding: 8px 0;

      del{
        font-size: 14px;
        color: #999999;
        padding-left: 10px;
      }
    }

    .product-meta-subtotal-container{
      text-align: right;
      .product-meta-subtotal-current{
        font-size: 24px;
        color: #9E0A0F;
      }
      del {
        font-size: 16px;
        color: #999999;
      }
    }

    .qib-button{
      background-color: transparent !important;
    }

    .product-attributes-container div{
      font-size: 16px;
      color: #383838;
    }

    .product-action{
      button.theme-button{
        width: 185px;
        height: 50px;
        border-radius: 0;
        &:hover, &:focus{
          background-color: $color-orange;
        }
        background-color: $color-orange;
      }
      .add-to-cart-btn{
        a{
          width: 185px;
          height: 50px;
        }
      }
    }
  }
}

//TI wishlist
.page-wishlist{
  .product-list{
    .product-list-item{
        .product-meta-name a{
          text-decoration: none;
          color: #333333 !important;
          &:hover, &:focus{
            text-decoration: none;
            color: #333333 !important;
          }
        }
    }
  }

  tfoot{
    .tinvwl-to-right{
      width: 100% !important;
    }
    button{
      color: #ffffff !important;
      background-color: $color-orange !important;;
      width: 185px !important;
      height: 50px !important;;
      border-radius: 0 !important;;
    }
  }
}

//cart page
.page-cart .woocommerce table.shop_table{
  border: none;

  .wc-proceed-to-checkout{
    text-align: right;
    a{
      max-width: 184px;
      height: 46px;
    }
  }

  &.product-list{
    .product-list-item{
      .product-meta-subtotal-current{
        bdi{
          font-weight: bold;
        }
      }

      .product-meta-name a{
        text-decoration: none;
        color: #333333 !important;
        &:hover, &:focus{
          text-decoration: none;
          color: #333333 !important;
        }
      }
    }
  }

  .actions{
    .coupon{
      input{
        min-height: 50px;
        &.input-text{
          width: 250px;
          margin-right: 0;
          border-right: 0;
        }
      }

      button{
        min-height: 50px;
        background-color: $color-orange;
        color: #ffffff;
        border-radius: 0;
        font-weight: 500;
      }
    }

    .btn-update-cart{
      min-height: 50px;
      background-color: $color-orange;
      color: #ffffff;
      border-radius: 0;
      font-weight: 500;

      &:hover{
        background-color: $color-orange;
        color: #ffffff;
      }
    }
  }
}

//checkout page
.page-checkout{
  form{

    .woocommerce-input-wrapper{
        a{
          color: #333333;
          text-decoration: underline;
        }
    }

    .checkout-order-section-title{
      font-size: 20px;
      font-weight: 500;
      color: #333333;
      margin-bottom: 20px;
    }

    div.woocommerce-additional-fields{
      h3{
        display: none;
      }
    }

    .woocommerce-additional-fields__field-wrapper:after{
      content: "如商戶可就此商品提供送貨服務，有關送貨資料會於商品描述註明，否則該商品並不設送貨服務。";
      display: block;
      padding: 3px;
    }

    #order_review{
      background-color: #F8F8F8;

      .block-separator:first-of-type{
        width: 100%;
        height: 40px;
        background-color: #FFFFFF;

      }
      .woocommerce-checkout-payment{
        padding: 45px;
        background-color: #F8F8F8;

        ul.payment_methods{
          border-bottom: none;

          li.wc_payment_method {
            border-top: 1px solid #d3ced2;
            padding-top: 20px;
            padding-bottom: 20px;

            &:last-child {
              border-bottom: 1px solid #d3ced2;
            }
          }
        }
      }

      table.shop_table{
        border: none;
        padding: 45px;

        .cart_item{

          td{
            padding: 20px 0;
          }

          .checkout-product-detail{
            .name{
              font-size: 18px;
              font-weight: bold;
              line-height: 25px;
            }
            .small-item{
              font-size: 13px;
              color: #898989;
              font-weight: 400;
            }
          }

          &:first-of-type{
            border-top: 1px solid #D6D6D6;
          }
          border-bottom: 1px solid #D6D6D6;
        }
        .product-total{
          text-align: right;
          font-size: 18px;
          font-weight: bold;
          vertical-align: top;
        }
      }
    }
  }
}

//Thankyou page
.page-thankyou{
  .status-display-container{
    margin-bottom: 60px;
    img{
      width: 60px;
      margin-bottom: 20px;
    }
    h2.title{
      margin-bottom: 20px;
    }
    div.detail{
      margin-bottom: 7px;
      color: #383838;
    }
    text-align: center;
  }

  .btn.theme-button{
    width: 150px !important;
    padding: 7px 0 !important;

    span{
      font-size: 16px;
    }
  }

}
//.page-checkout .woocommerce-order{
//    section.woocommerce-order-details{
//      background-color: #F8F8F8;
//      padding: 40px;
//
//      td{
//        padding: 30px 0;
//      }
//    }
//}

//order history
.page-order-history{
  table.my_account_orders{

    border-collapse: separate;
    border-spacing: 0 15px;

    .order-record{
      background-color: #F8F8F8;
      td{
        padding-top: 25px;
        padding-bottom: 25px;
        font-size: 14px;
        font-weight: 500;
        color: #383838;

        &:first-child{
          padding-left: 15px;
        }
        &:last-child{
          padding-right: 15px;
        }

        img{
          height: 40px;
        }
      }
    }
  }
}

//woof filter bar
.widget.widget-woof{
  .woof_text_search_container{
    #search-clear{
      display: none !important;
    }
  }
  .woof_container_inner{
    background-color: #FFFFFF;

    h4{
      width: 100%;
      padding: 20px 0;
      font-size: 16px;
      border-bottom: 1px solid #D6D6D6;
    }

    label{
      font-size: 16px;
    }

    ul.woof_list{
      padding-left: 0;
      padding-top: 20px;
      padding-bottom: 20px;
      padding-right: 0;

      li{
        margin: 5px 0 !important;

        .icheckbox_square-orange{
          margin-top: 0;
        }
      }
    }
  }
}


//single product page
.single-product{
  .woocommerce-product-gallery{
    .flex-direction-nav{
      position: absolute;
      top: 40%;
      z-index: 99999;
      width: 100%;
      left: 0;
      margin: 0;
      padding: 0;
      list-style: none;

      .flex-nav-prev{
        float: left;
        visibility: hidden;
        .flex-prev{
          color: #333333;
          text-decoration: none;
          &:before{
            visibility: visible;
            content: '\f053';
            font-family: 'Font Awesome 5 Free';
            margin-left: 10px;
            font-size: 20px;
            font-weight: bold;
          }
        }
      }
      .flex-nav-next{
        float: right;
        visibility: hidden;
        .flex-next {
          color: #333333;
          text-decoration: none;
          &:after {
            visibility: visible;
            content: '\f054';
            font-family: 'Font Awesome 5 Free';
            margin-right: 10px;
            font-size: 20px;
            font-weight: bold;
          }
        }
      }
    }
  }

  .summary{
    .product_title{
      font-size: 28px;
    }

    .product-desc-container{
      margin-bottom: 20px;

      .product-attr{
        font-size: 14px;
        margin-bottom: 5px;
      }
    }

    .stock.in-stock{
      display: none !important;
    }

    .stock.out-of-stock{
      font-size: 20px;
    }

    .single_add_to_cart_button{
      background-color: $color-orange !important;
      border-radius: 0;
      padding: 0 27px;
    }


  }

  .single-product-desc-container{
    clear: both;
    padding-top: 50px;
    padding-bottom: 50px;
    border-top: 1px solid #D6D6D6;
    border-bottom: 1px solid #D6D6D6;
    margin-top: 60px;
    margin-bottom: 60px;

    .sub-section{
      margin-bottom: 30px;

      .title{
        font-weight: bold;
        margin-bottom: 15px;
      }

      .detail{
        font-weight: 300;
        text-align: left;
      }
    }
  }

  .variations_form{
    table.variations{
      tr{
        margin-bottom: 5px;
        td.label{
          vertical-align: middle !important;
          label{
            font-weight: 400 !important;
          }
        }
        td.value{
          select{
            width: 100% !important;
          }
        }
      }
    }
  }

  section.related.products{
    h2{
      margin-bottom: 30px;
      text-align: center;
    }
  }

  .single-product-add-to-wishlist{
    color: $color-orange;
    text-decoration: none;
    &:before{
      font-size: 30px !important;
    }
  }
}

.order-listing-wrapper{
  section.woocommerce-order-details{
    background-color: #F8F8F8;
    padding: 40px;

    small{
      display: block;
    }

    td{
      padding: 30px 0;
    }

    img{
      height: auto;
      max-width: 100%;
    }
  }
}

nav.woocommerce-pagination{
  a{
    color: $color-orange
  }
}

.woocommerce button.button{
  font-weight: 500;
}


.woocommerce-ordering{
  select{
    padding-left: 15px;
    padding-right: 15px;

    option, select{
      text-align: center;
    }
  }
}


.woocommerce .woocommerce-breadcrumb{
    color: #000;
    font-size: 17px;

    a{
        color: #000;
        font-size: 17px;
    }
}

.woocommerce ul.products li.product a img{
    margin: 0;
    margin-bottom: 0.5rem;
}


.post-type-archive-product.woocommerce{
    ul.products li.product .product-img-wrapper img.attachment-woocommerce_thumbnail, 
    ul.products li.product .product-img-wrapper .woocommerce-placeholder {
        width: 16vw;
        height: 16vw;
        display: block;
        margin: 0 0 1em;
        box-shadow: none;
        max-width: 300px;
        max-height: 300px;
        object-fit: contain;
        object-position: center;
        border: 1px solid #ccc;
    }
}


@media(max-width: 768px){
    .post-type-archive-product.woocommerce{
        ul.products li.product .product-img-wrapper img.attachment-woocommerce_thumbnail, 
        ul.products li.product .product-img-wrapper .woocommerce-placeholder{
            width: 24vw;
            height: 24vw;
            max-width: 162px;
            max-height: 162px;
        }
    }


}

@media(max-width: 575px){
    .post-type-archive-product.woocommerce{
        ul.products li.product .product-img-wrapper img.attachment-woocommerce_thumbnail, 
        ul.products li.product .product-img-wrapper .woocommerce-placeholder{
            width: 40vw;
            height: 40vw;
            max-width: 225px;
            max-height: 225px;
        }
    }
}




//wishlist css wishlist page
.tinv-wishlist table td{
    padding: 1rem 0 !important;
}

.tinvwl-table-manage-list{

    .product-stock{

        span i{
            display: none;
        }

        .out-of-stock{        
           color: #FF2900;  
           font-weight: 600;
        }

        .in-stock{

            span{
                color: #297e29;
                font-weight: 600;
            }
        }
    }

    .wishlist_item{

        .product-name{
            width: 25%;
        }

        .product-price{

            .original-price-display{
                display: block;
                margin-left: 0 !important;
            }
        }

        .product-action{
            width: auto;
            text-align: left;

            .add-to-cart-btn{

                text-align: left;

                a{
                    border-radius: 25px;
                    padding: 5px 12px;
                    background-color: #fff;
                    color: #D0821D;
                    font-size: 16px;
                    line-height: 32px;
                    border: 1px solid #D0821D !important;

                    width: auto;
                    height: auto;

                    .add-to-cart-btn-content-wrapper{
                        padding-bottom: 0;
                    }
                }
            }


            button.theme-button{
                border-radius: 25px !important;
                padding: 5px 12px !important;
                background-color: #fff !important;
                color: #D0821D !important;
                font-size: 16px !important;
                line-height: 32px !important;
                border: 1px solid #D0821D !important;

                width: auto;
                height: auto;


                .add-to-cart-btn-content-wrapper{
                    padding-bottom: 0;
                }
            }
        }
    }
}

.tinv_wishlist_notifications{

    ul li{

        label input{
            height: auto;
        }
    }

    .tinvwl-buttons-group{

        .tinvwl-button{
            border: none;
            width: 100%;
            padding: 10px;
            border-radius: 25px;
            background: #D0821D;
        }
    }
}

@media(max-width: 768px){
    .tinvwl-table-manage-list{

        .wishlist_item{

            .product-action{

                text-align: center;
            }

            .product-thumbnail{

                img{
                    width: 170px;
                    min-width: 170px;
                }
            }
        }
    }

    .tinv-wishlist table td{
        padding: 0 0 10px!important;
    }
}


.tinv-wraper.woocommerce.tinv-wishlist.tinvwl-after-add-to-cart.tinvwl-loop-button-wrapper{
    display: inline-block;
    position: absolute;
    top: -2%;
    left: 5%;

    .tinvwl_add_to_wishlist_button{
        width: auto;
        height: auto;
        color: #D0821D !important;

        &::before{
            font-size: 30px;
        }
    }
}

a.btn.theme-button{
    border-radius: 25px !important;
    padding: 8px 25px !important;
    background-color: #D0821D !important;
    color: #fff !important;
    font-size: 16px !important;
    line-height: 32px !important;
    border: 1px solid #D0821D !important
}


a.button.tinv-prev,
a.button.tinv-next{
    background: #D0821D;
    color: #fff;
}*/

/*# sourceMappingURL=woocommerce.css.map */
