.woocommerce-cart .page-title {
    display: none;
}
p#billing_email_field {
    display: none;
}
tr.woocommerce-shipping-totals.shipping th {
    width:25%;
}
tr.woocommerce-shipping-totals.shipping td {
    width: 75%;
}
tr.woocommerce-cart-form__cart-item.cart_item td.product-thumbnail img {
    max-height: 80px;
    object-fit: contain;
}
.installment-title p {
    font-size: 16px;
    color: #ff0000;
    font-weight: 500;
}
body.woocommerce-checkout .woocommerce-shipping-methods {
    pointer-events: none;
}
.cart-count .bar-cout {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}
.cart-count .bar-cout h3 {
    margin: 0;
    font-weight: 600;
    font-size: 23px;
    line-height: 1.6;
}
.cart-count .bar-cout button {
    background: transparent;
    padding: 0;
    border: 0;
    text-decoration: underline;
    font-size: 15px;
    font-weight: 600;
}
.cart-count {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-bottom: 2px solid #ff6300;
    padding-bottom: 10px;
    margin-bottom: 20px!important;
}
.cart-count .bar-text {
    display: flex;
    align-items: center;
}
.cart-count .bar-text div svg {
    height: 24px;
    width: 24px;
    stroke: #000;
    margin-top: -6px;
}
.cart-count .bar-text .t-box {
    font-size: 23px;
    font-weight: 600;
    color: #000;
    display: flex;
    align-items: center;
    gap: 5px;
}
.list-text_table {
    position: relative;
    display: flex;
}
.list-text_table h4 {
    font-size: 23px;
    font-weight: 600;
    line-height: 1.6;
}
table.shop_table thead {
    display: none;
}
.cross-sells {
    display: none;
}

/* .wd-carousel-container {
    display: none;
} */
.nav-checkout {
    display: flex;
    position: relative;
    width: 100%;
    justify-content: center;
    max-width: 1124px;
    margin: 0 auto;
}
.nav-checkout .v-container {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 16px;
    flex-wrap: nowrap;
}
.box-checkout {
    width: 100%;
    display: flex;
    position: relative;
    max-width: 1190px;
    margin: 0 auto;
    flex-direction: column;
    gap: 2em;
}
.nav-checkout .v-container .button-wrapper {
    flex-basis: calc(33.3333% - 10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.nav-checkout .v-container .button-wrapper .button-text {
    font-size: 18px;
    font-weight: 300;
    color: #000;
    opacity: 0.6;
    line-height: 1.6;
}
.nav-checkout .v-container .button-wrapper svg {
    width: 25px;
    height: 25px;
    fill: #fff;
    z-index: 1;
}
.nav-checkout .v-container .button-wrapper .circle-button.inactive {
    background: #ccc;
    display: flex;
    line-height: 1;
    padding: 8px;
    border-radius: 50px;
    align-items: center;
    justify-content: center;
    z-index: 99;
}
.nav-checkout .v-container .button-wrapper .circle-button.active {
    background: #ff6300;
    display: flex;
    line-height: 1;
    padding: 8px;
    border-radius: 50px;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 1px 4px #4f4f4f6b;
    z-index: 1;
}

/* .nav-checkout .v-container .button-wrapper .circle-button:before {
    content: '';
    height: 2px;
    width: 100%;
    position: absolute;
    display: block;
    background: #eaeaf0;
    left: -165px;
    top: 30%;
    transform: translateY(-50%);
} */
.nav-checkout .v-container .button-wrapper:first-child .circle-button:before {
    content: unset;
}
.nav-checkout .v-container .button-wrapper .circle-button.active:before {
    background: #ff6300;
}
.woocommerce-checkout .page-title {
    display: none;
}
.radio-group {
    display: flex;
    gap: 10px;
}
.radio-button {
    position: relative;
    display: inline-block;
}
.radio-button input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.radio-button label {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.radio-button label {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #cccccc;
}


.item-title {
    border-bottom: 2px solid #ff6300;
}
.item-title span {
    font-size: 17px;
    font-weight: 500;
    color: #000;
    padding: 10px;
    padding-top: 13px;
    display: block;
    line-height: 1.2;
}
.woocommerce-checkout .main-page-wrapper {
    background: #f1f1f1;
}
.third-box .items {
    /* background: #fff; */
    border-radius: 6px;
}
.item-content {
    padding: 10px;
}
.radio-button label, .radio-button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-address {
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.title-address{
    margin-top: -10px;
}
 .title-address span {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: left;
    font-size: 16px;
    font-weight: 300;
    color: #000;
}
.title-address span svg {
    margin-top: -4px;
    stroke-width: 2px;
    stroke: #ff6300;
}
.item-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 355px;
    border-radius: 4px;
    overflow: hidden;
}
.wrap-change-address .list-address {
    margin-bottom: 10px;
    cursor: pointer;
}
.type-recipe {
    display: block;
}
.list-address {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.btn-box {
    display: flex;
    justify-content: center;
}
.btn-box .btn-edit, #btn-invoice  {
    background: #ff6300;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    color: #fff;
    font-weight: 600;
    gap: 7px;
    border-radius: 7px;
    font-size: 15px;
    cursor: pointer;
}
#btn-invoice svg,
.btn-box .btn-edit svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
    margin-top: -4px;
}
.items-address span.head-address {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}
.items-address .detail-box {
    font-size: 16px;
    font-weight: 300;
}
.items-address {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.items-address .detail-box p {
    margin-bottom: 0;
}
.third-box {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.third-box .items {
    flex-basis: calc(33.3333% - 10px);
}
/*slide toggle*/

/*from*/
.form-container {
    display: grid;
    gap: 15px;
}
.address-tax .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group label {
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 500;
}
.form-group input[type="text"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.location-icon {
    margin-right: 5px;
}
.checkbox-group {
    margin-top: 15px;
}
.checkbox-group label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
}
.button-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}
.btn {
    padding: 10px;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    cursor: pointer;
}
.btn-primary {
    background-color: #ff6300;
}
.btn-secondary {
    background-color: #9e9e9e;
}
.box-cusinfo,
.wrap-change-address,
.invoice-address {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
}
.overlay-guest-address,
.overlay-address {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3f3f3f5c;
    opacity: 1;
    backdrop-filter: blur(2px);
    pointer-events: none;
}
.overlay-guest-address {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 390;
}
.overlay-guest-address.active {
display: block;
}
.woocommerce-billing-fields,
.main-invoice {
    position: absolute;
    top: 50%;
    width: 100%;
    height: 100%;
    left: 50%;
    z-index: 999;
    background: #fff;
    max-width: 800px;
    margin: 0 auto;
    transform: translate(-50%, -50%);
    height: 70vh;
    overflow-x: auto;
    padding: 20px;
}
.woocommerce-billing-fields>h3,
.wrap-modal-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: solid 1px #ddd;
    padding-bottom: 10px;
    position: relative;
}
.woocommerce-billing-fields>h3,
.wrap-modal-title h2 {
    margin: 0;
    font-weight: 500;
    font-size: 22px;
}
.woocommerce-billing-fields>h3 {
    font-weight: 500;
    margin-bottom: 20px;
}
span.cancel {
    position: absolute;
    right: 0;
    color: red;
    cursor: pointer;
    border: 2px solid;
    display: block;
    line-height: 1;
    bottom: 15px;
}
span.cancel svg {
    display: block;
}
.box-cusinfo.active,
.wrap-change-address.active,
.invoice-address.active {
    display: flex;
    flex-direction: column;
}
.box-cusinfo .main-invoice {
    height: auto;
    max-width: 400px;
}

.box-cusinfo .main-invoice {
    height: auto;
}
.btn-cusinfo {
    padding: 9px 9px 8px!important;
    min-height: auto!important;
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    line-height: 17px!important;
    background: #ececec;
    border-radius: 4px!important;
    font-weight: 500!important;
    color: #000!important;
    /* display: none!important; */
}
.btn-cusinfo svg {
    width: 14px;
    height: 14px;
    margin-right: 2px;
        margin-top: -2px;
}
button.btn-cusinfo.cus_edit {
    position: absolute;
    right: 10px;
    top: 10px;
}
.box-cusinfo .form-row-2 {
    display: flex;
    gap: 9px;
}
.box-cusinfo .form-row-2 > div {
    width: 50%;
}

.top-message .form-group {
    display: flex;
    flex-direction: row;
}
.subscript-text .radio-group {
    gap: 0;
}
.subscript-text .radio-group .radio-button:first-child label {
    margin: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding: 4px 7px;
}
.subscript-text .radio-group .radio-button:last-child label {
    margin: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 4px 7px;
}
.subscript-text .radio-group label {
    border-radius: 5px;
    font-size: 12px;
}
.form-group-x input {
    display: none;
    width: 100%;
    height: 36px;
}
.form-group-x input.active {
    display: block;
}
.top-message .form-group {
    align-items: center;
    width: 100%;
}
#fake-address,
.add-address_x textarea {
    min-height: 130px;
    border-radius: 6px;
    border: 1px solid #ccc;
}
 .top-message .form-group {
     gap: 6px;
}
 .top-message .form-group .sb-box {
     display: flex;
     flex-basis: 88%;
     align-items: center;
     gap: 5px;
}
 .top-message .form-group span.label {
     flex-basis: 13%;
}
 .top-message .form-group .sb-box input[type=text] {
     max-width: 800px;
     width: 216px;
     max-height: 34px;
}
.third-box .item-2 .item-content {
    gap: 12px;
}
.address-tax .form-row.form-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
}
.address-tax .form-row.form-row-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.invoice-address .main-invoice .form-group input[type=text], .box-input input[type=text] {
    border: 1px solid #cccccc7a;
    color: #000;
    border-radius: 4px;
}
.invoice-address .main-invoice .form-group input[type=text]:focus {
    border-color: #000;
}
.invoice-address .main-invoice .form-group label {
    color: #000000;
    font-weight: 500;
}
.title-checkout h2 {
    display: block;
    font-size: 23px;
    font-weight: 600;
    margin: 0;
}
.invoice-address .main-invoice .form-group textarea {
    min-height: 115px;
    border-width: 1px;
    border-radius: 4px;
    padding: 5px 8px;
    color: #000;
}
.add-on_form.active {
    display: flex;
    flex-direction: column;
}
.add-on_form {
    display: none;
}
.branchT-box {
    display: none;
}
.branchT-box.active {
    display: flex;
    flex-direction: column;
}
.default-box_add {
    display: none;
}
.default-box_add.active {
    display: flex;
    flex-direction: column;
}
.item_tax-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.item_tax-grid .item-tax {
    flex-basis: calc(50% - 20px);
}
.item_tax-grid .item-tax.item-tax-1 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.default-box_add.public-box .box-input:first-child {
    flex-basis: 100%;
}
.default-box_add.public-box .box-input {
    flex-basis: calc(50% - 10px);
}
.default-box_add.public-box.active {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}
.invoice-address .main-invoice .box-input label {
    font-weight: 300;
}
.button-group button.btn.btn-primary {
    background: #ff6300;
    color: #fff;
}
.title-c {
    font-size: 17px;
    font-weight: 500;
    color: #ffffff;
    padding: 10px;
    display: block;
    line-height: 1.2;
    background: #ff6300;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
}
.main-detail-c p {
    margin: 0;
    font-size: 17px;
    font-weight: 300;
}
.main-detail-c p.r2 {
    line-height: 24px;
    margin-bottom: 7px;
}
.main-detail-c {
    padding: 10px;
    font-size: 17px;
    font-weight: 300;
    position: relative;
    border: 1px solid #e5e7ea;
}
.items.item-3 {
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.list-items_c {
    background: #fff;
}
.list-order {
    background: #fff;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #e5e7ea !important;
}
.list-order .cart-count {
    padding: 10px;
    padding-top: 0;
    border: 0;
}
.list-order .order-title {
    font-size: 21px;
    color: #000;
    font-weight: 600;
    padding: 10px;
    padding-bottom: 0;
}
.list-order .cart-count .bar-text .t-box {
    font-size: 16px;
}
.list-order .cart-count .bar-text .t-box svg {
    width: 18px;
    height: 18px;
    margin-top: -4px;
}
.list-order .cart-count .bar-text .t-box span {
    font-weight: 500;
}
.list-product_b {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.list-product_b .img-product {
    position: relative;
    overflow: hidden;
    /* padding-bottom: calc(0.25*100%); */
    display: flex;
    flex-basis: 23%;
    border: 1px solid #ccc;
    min-width: 83px;
}
.list-product_b .img-product img {
    border-radius: 10px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    display: block;
    height: 83px;
    width: 83px;
    object-fit: contain;
    margin: 0 auto;
}
.list-product_b .detail-product {
    display: flex;
    flex-basis: 77%;
    flex-direction: column;
}
.list-product_b .detail-product h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
    color: #000;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    position: relative;
    overflow: hidden;
    min-height: auto;
    text-align: left;
    height: 100%;
}
.list-product_b .detail-product .column-p {
    display: flex;
    justify-content: space-between;
}
.list-product_b .detail-product .column-p .cc-p span {
    font-size: 14px;
    color: #767676;
    font-weight: 400;
}
.list-product_b .detail-product .column-p.column-total .cc-p span {
    font-size: 16px;
    color: #262626;
    font-weight: 600;
}
.list-product_b .detail-product .column-p {
    display: flex;
    justify-content: space-between;
}
.list-product_b .detail-product .column-p .cc-p span {
    font-size: 14px;
    color: #767676;
    font-weight: 400;
}
.list-product_b .detail-product .column-p.column-total .cc-p span {
    font-size: 16px;
    color: #262626;
    font-weight: 600;
}
.list-product_b {
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}


.detail-payment {
    background: #fff;
    padding: 10px;
    border: 1px solid #e5e7ea !important;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.detail-payment .title-pm h3 {
    font-size: 21px;
    font-weight: 600;
    margin: 0;
}
.grid-item span {
    font-size: 16px;
    font-weight: 400;
}
.grid-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.grid-item.g-all span {
    font-size: 20px;
    font-weight: 600;
    color: #000;
}
.detail-payment .title-pm {
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    position: relative;
}
.detail-payment .title-pm:after {
    content: '';
    display: block;
    height: 2px;
    width: 220px;
    background: #ff6300;
    position: absolute;
    bottom: -1px;
}
.woocommerce-cart .main-page-wrapper {
    background: #f1f1f1;
}
.cart-table-section>.cart tr {
    background: #fff;
}
.cart-table-section>.cart .cart-actions>:is(.button,.wd-coupon-form) {
    padding: 10px;
}
.cart-content-wrapper>.cart-totals-section .cart-totals-inner {
    background: #fff;
}
.cart-content-wrapper>.cart-totals-section .cart-totals-inner {
    border: 1px solid #e5e7ea!important;
}
.bonus-box {
    background: #FFF;
    border: 1px solid #e5e7ea !important;
    margin-bottom: 15px;
    padding: 10px;
}
.bonus-box .bonus-text span {
    font-weight: 600;
    color: #000;
    font-size: 16px;
}
.bonus-box a.button-bonus {
    color: #ff6300;
}
.cart-content-wrapper>.cart-totals-section .cart-totals-inner {
    padding: 10px!important;
}
.cart-totals-inner>h2 {
    font-weight: 600;
    margin: 0;
    padding: 0 !important;
    border-bottom: 1px solid #ccc;
    position: relative;
    padding-bottom: 5px !important;
}
.cart-totals-inner>h2:after {
    content: '';
    display: block;
    height: 2px;
    width: 220px;
    background: #ff6300;
    position: absolute;
    bottom: -1px;
}
.wd-coupon-form .input-text {
    max-width: 100%!important;
    border-right: 0;
}
.wd-coupon-form {
    gap: 0!important;
}

.list-text_table{
    border-bottom: solid 1px #000;
}
.list-text_table h4 {
    margin: 0;
    padding-bottom: 5px;
}
.detail-payment tbody,
.woocommerce-form-coupon-toggle,
#order_review .woocommerce-checkout-review-order-tablex {
    display: none;
}
.f-two-box .box-top {
    display: flex;
}
.f-two-box .box-top .item{
    flex-basis: calc(50% - 10px);
}
.third-box.f-two-box > .box-top {
    flex-basis: 70%;
}
.third-box.f-two-box .items.item-3 {
    flex-basis: calc(30% - 10px);
}
.third-box.f-two-box>.box-top .items {
    flex-basis: 50%;
}
.third-box.f-two-box>.box-top {
    flex-basis: 66%;
    gap: 15px;
    flex-direction: column;
}
.third-box.f-two-box>.box-top .items .in {
    background: #FFF;
    border: 1px solid #e5e7ea !important;
    border-radius: 6px;
}
.third-box.f-two-box>.box-top .box-address {
    display: flex;
    gap: 10px;
}
.woocommerce-checkout-review-order-table tr{
    border: 0!important;
}
.detail-payment th,
.cart_totals th{
    padding-left: 0;
}
.detail-payment td,
.cart_totals td{
    padding-right: 0;
}
.detail-payment td, .detail-payment th,
.cart_totals th, .cart_totals td {
    border: 0;
    padding-bottom: 0!important;
}

.cart_totals tbody td,
.cart_totals tbody th,
.woocommerce-checkout-review-order-table tfoot td,
.woocommerce-checkout-review-order-table tfoot th{
    font-size: 16px;
    font-weight: 400;
    padding-top: 11px;
    color: #7A7A7A;
}

.cart_totals tbody tr.order-total td,
.cart_totals tbody tr.order-total th,
.woocommerce-checkout-review-order-table tfoot tr.order-total td,
.woocommerce-checkout-review-order-table tfoot tr.order-total th{
    font-size: 20px;
    font-weight: 600;
    padding-top: 7px;
    color: #000;
}
tr.order-total strong .amount{
    font-size: 20px!important;
    font-weight: 600;
    padding-top: 7px;
}
.list-order table.shop_table.woocommerce-checkout-review-order-table tfoot {
    display: none;
}

.wd-checkout-prod {
    padding: 0;
    padding-top: 10px;
}
table.shop_table.cart td.product-name a {
    font-weight: 500!important;
}
table.shop_table.cart.woocommerce-cart-form__contents .product-sku {
    display: block!important;
}
table.shop_table.cart.woocommerce-cart-form__contents td.product-sku{
    display: none!important;
}
tr.last_child.cart_item .list-product_b {
    border-bottom: 0;
    padding-bottom: 0;
}
.wd-coupon-form {
    display: flex;
    margin-bottom: -5px;
}
.wd-coupon-form button.button {
    min-width: 100px;
    background: #ff6300;
    color: #FFF;
    font-size: 14px;
}
.nav-checkout .v-container .button-wrapper{
    position: relative;
}
.nav-checkout .v-container .button-wrapper:after {
    content: '';
    height: 2px;
    width: 100%;
    position: absolute;
    display: block;
    background: #e4e4e4;
    left: auto;
    right: -50%;
    top: 30%;
}
.nav-checkout .v-container .button-wrapper:last-child::after{
    display: none;
}


.list-items_c {
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
}


.box-payment {
    width: 100%;
    background: #FFF;
    border-radius: 6px;
    border: 1px solid #e5e7ea;
    padding: 10px;
    position: relative;
}
.box-payment .item-title {
    margin: 0 0 15px;
}
.box-payment .item-title span {
    padding: 10px 0 8px;
}
.wrap-payment-tab .payment-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}
.wrap-payment-tab .payment-nav li {
    width: 33.33%;
    border: 1px solid #e5e7ea;
    cursor: pointer;
    padding: 10px 5px;
    text-align: center;
    color: #000;
    font-weight: 500;
    font-size: 13px;
    line-height: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    max-height: 38px;
    border-radius: 4px;
}
.wrap-payment-tab .payment-nav li:hover{
    border: 1px solid #ff6300;
}
.wrap-payment-tab .payment-nav li.active{
    color: #FFF;
    background-color: #ff6300;
}
input#yp_save_customer_card {
    margin-top: -3px;
}
p.form-row {
    margin-bottom: 12px;
}
.yp-new-card-form {
    padding: 10px 10px 0;
    border: 0;
}
.payment-tab-content{
    display: none;
    min-height: 100px;
}
.payment-tab-content.active{
    display: block;
}
.payment-tab-content.center-box.active{
    display: flex;
    align-items: center;
    justify-content: center;
}
.install-bank {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin: 10px;
    
}
.installment-title {
    text-align: center;
    margin-top: 20px;
    margin-bottom: -5px;
}


.payment-tab-installment .wrap-bank-select {
    margin: 16px auto;
    justify-content: center;
    display: flex;
}
.payment-tab-installment .wrap-bank-select select {
    max-width: 100%;
    border-radius: 5px;
}

.payment-tab-mobilebank .bank-select,
.payment-tab-installment .bank-select {
    cursor: pointer;
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    border: solid 2px #ececec;
    padding: 3px;
    border-radius: 4px;
}
.payment-tab-mobilebank .bank-select img,
.payment-tab-installment .bank-select img{
    max-width: 70px;
}
.payment-tab-mobilebank .bank-select span,
.payment-tab-installment .bank-select span {
    width: 100%;
    display: flex;
    justify-content: center;
    height: 100%;
    padding: 7px;
    border-radius: 0;
    align-items: center;
}
.payment-tab-mobilebank .bank-select.bbl span,
.payment-tab-installment .bank-select.bbl span{
    background-color: #1e4598;
}
.payment-tab-installment .bank-select.uob span{
    background-color: #05377c;
}
.payment-tab-mobilebank .bank-select.bay span,
.payment-tab-installment .bank-select.bay span{
    background-color: #fec43b;
}
.payment-tab-mobilebank .bank-select.scb span,
.payment-tab-installment .bank-select.scb span{
    background-color: #4e2e7f;
}
.payment-tab-mobilebank .bank-select.kbank span,
.payment-tab-installment .bank-select.kbank span{
    background: #00a14d;
}
.payment-tab-mobilebank .bank-select.ktb span,
.payment-tab-installment .bank-select.ttb span,
.payment-tab-installment .bank-select.ktc span{
    background: #eee;
}
.payment-tab-installment .bank-select.first_choice span{
    background: #007bc4;
}

.payment-tab-mobilebank .bank-select img,
.payment-tab-installment .bank-select img {
    width: 29px;
    max-height: 29px;
    object-fit: contain;
}
.payment-tab-installment .bank-select.uob img {
    max-height: 24px;
}
/* .payment-tab-installment .bank-select.bay{
    background-color: #fec43b;
} */

.payment-tab-installment .wrap-bank-select .yp-banks-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 460px;
}


.payment-tab-installment .wrap-bank-select .yp-banks-list li {
    display: none;
    margin: 0;
}
.payment-tab-installment .wrap-bank-select .yp-banks-list li.active {
    display: block;
}

.payment-tab-mobilebank .bank-select.active,
.payment-tab-installment .bank-select.active {
    border: solid 2px #ff6300;
}
.payment-tab-card h3,
.box-payin-img h3,
.installment-title h3{
    margin: 0;
    font-weight: 500;
    font-size: 22px;
    z-index: 1;
}
.box-payin-img img {
    max-width: 90px;
    margin: -17px auto 0;
}
.box-payin-img {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-top: 10px;
}
.payment-tab-content .wrap-in{
    display: block;
    text-align: center;
}

.yp-new-card-form input {
    border-radius: 3px;
}
.card-loading-text {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #000 !important;
    text-align: center;
    display: block;
    padding: 20px;
}



.yp-card-list li input {
    margin-top: 4px;
}
.yp-card-list {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 7px;
}
.wrap-card-list {
    padding: 15px ;
    border: dashed 2px #e8e8e8;
    border-radius: 3px;
}
.payment-tab-card h3 {
    color: #057caa;
    display: flex;
    gap: 5px;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
}
.payment-tab-card h3 svg{
    width: 22px;
    height: 22px;
    margin-top: -7px;
}
.use-old-card,
.add-new-btn {
    min-height: 20px!important;
    padding: 7px 10px!important;
    color: #FFF!important;
    background-color: #000!important;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.use-old-card{
    margin-bottom: 10px;
}
.use-old-card svg {
    margin-top: -1px;
}
.use-old-card svg,
.add-new-btn svg{
    width: 15px;
    height: 15px;
}
.payment-tab-mobilebank {
    padding-bottom: 15px;
}
p#wcmca_billing_country_field,
p#wcmca_billing_wantTaxid_field,p#wcmca_billing_taxid_field,
p#wcmca_billing_taxid_field, p#wcmca_billing_wantTaxid_field, p#wcmca_billing_storeid_field, p#wcmca_billing_taxname_field {
    display: none!important;
}

.box-address .radio-button.active label{
    background-color: #ff6300;
    color: #ffffff;
    border: 1px solid #ff6300;
}

.box-address .item-content{
    position: relative;
}
#email-tax{
    display: block;
}
.customer-address .btn-box {
    margin-top: 12px;
    margin-bottom: 10px;
}
#btn-invoice {
    margin-top: 2px;
}
.add-new-addresss {
    border: dashed 2px #dcdcdc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 15px;
    cursor: pointer;
    color: #000;
    font-size: 14px;
    gap: 5px;
    margin-top: 10px;
}
.add-new-addresss svg{
    width: 15px;
    height: 15px;
}
.subscript-text {
    border-radius: 4px;
    overflow: hidden;
}
p#wcmca_billing_state_field,
p#wcmca_billing_country_field {
    width: 100% !important;
}
#wcmca_form_popup_container_billing {
    max-height: 550px;
    overflow-x: auto;
    padding: 50px 20px!important;
}

.wrap-all-address{
    margin-top: 10px;
}
a#wcmca_add_new_address_button_billing {
    display: inline-flex;
    background: #000;
    color: #FFF;
}
.list-address-wrap{
    position: relative;
}
.list-address-wrap.is_default .list-address {
    border: solid 1px #ff6300;
}

.list-address-wrap.is_default .list-address::before {
    content: 'ค่าเริ่มต้น';
    position: absolute;
    top: 0;
    right: 0;
    background: #ff6300;
    color: #FFF;
    padding: 1px 10px;
    border-radius: 8px;
    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 7px;
}
.woocommerce-thankyou-order-received{
    background-color: #FFF;
}
.qr-alert-box {
    background: #FFF;
    border: solid 1px #e2e2e2;
}
.woocommerce-customer-details,
.woocommerce-order-details {
    background: #FFF;
    padding: 20px 20px 0;
}
.woocommerce-customer-details{
    padding-bottom: 20px;
}
.woocommerce-order-details__title, .woocommerce-column__title {
    border-bottom: solid 1px #ddd;
    padding-bottom: 7px;
    font-weight: 500;
    color: #000;
    margin-top: 3px;
}
.wrap-get-invoice {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#fake-address{
    cursor: pointer;
    padding: 7px;
    font-size: 16px !important;
    color: #444;
    line-height: 26px;
}

.address-tax .form-row.form-row-1 {
    grid-template-columns: 1fr;
}
.invoice-address .wrap-radio {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}
.invoice-address .wrap-radio label{
margin: 0;
}
.invoice-address .main-invoice {
    max-width: 450px;
    height: auto;
}
.form-row.form-row-2.branch-type {
    display: flex;
    align-items: center;
}
.invoice-address .wrap-radio input {
    margin-right: 0px;
    margin-top: -1px;
}
.content-tab-invoice{
    display: none;
}
.content-tab-invoice.active{
    display: flex;
}
.not-invoice-in {
    font-size: 16px;
    color: #cd4f00;
    height: 60px;
    font-weight: 500;
    background: #fff3eb;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
input.sub_branch_text {
    max-height: 30px;
}
.form-group.radio-other {
    flex-direction: row;
    gap: 3px;
}

.form-row.form-row-2.tax-type {
    display: flex;
    position: relative;
}
.form-row.form-row-2.tax-type .ai_button_popup {
    position: absolute;
    right: 0;
    left: auto;
    top: 2px;
}

.yp-card-list li.item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.yp-card-list li.item label{
    margin: 0;
}
.yp-card-list li.item input{
    margin: 0;
}
a.btn-checkout2,
button.btn-checkout {
    display: flex;
    padding: 5px 28px;
    min-height: 48px;
    font-size: 15px;
    width: 100%;
    color: #FFFF;
    background: #ff6300;
    margin: 0;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
}

a.btn-checkout2 {
    border: solid 1px #ff6300;
    background: #0000;
    color: #ff6300;
    margin-top: 8px;
}
a.btn-checkout2:focus,
a.btn-checkout2:hover{
    border: solid 1px #000;
    background-color: #000;
    color: #FFF;
}
table.shop_table.woocommerce-checkout-review-order-table .blockUI,
#customer_detailsx, .checkout-order-reviewx {
    display: none;
}
.detail-payment{
    position: relative;
}
/* .woocommerce-NoticeGroup-checkout .woocommerce-error {
    position: fixed;
    bottom: 160px;
    right: 0;
    z-index: 999;
}
 */


body.woocommerce-checkout .woocommerce {
    display: flex;
    flex-direction: column;
}
form.woocommerce-checkout {
    order: 0;
}
.box-checkout {
    order: 1;
}
button.btn-checkout::before {
    position: relative;
    top: -1px;
    left: 0;
    margin-right: 7px;
    opacity: 0;
    z-index: 2;
    transition: opacity 0s ease;
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 1px solid rgba(0, 0, 0, 0);
    border-left-color: currentColor;
    border-radius: 50%;
    vertical-align: middle;
    animation: wd-rotate 450ms infinite linear var(--wd-anim-state, paused);
    display: none;
}
button.btn-checkout.loading:before {
    opacity: 1;
    transition: opacity .25s ease;
    --wd-anim-state: running;
    display: flex;
}
.yp-remember-card {
    display: flex;
    align-items: center;
}
.yp-remember-card label,
.yp-remember-card input {
    margin: 0;
}
.need_quote {
    background: #FFF;
    margin-top: 15px;
    padding: 10px;
    border: 1px solid #e5e7ea !important;
    display: none;
}
.need_quote:last-child {
    display: flex;
}

.btn_need_quote {
    width: 100%;
    display: flex;
    color: #FFF !important;
    background: #000 !important;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
}
.btn_need_quote:hover{
    background: #333 !important;
}
.need_quote .in {
    background: #eee;
    padding: 12px;
}
.need_quote .in p {
    margin: 0;
    color: #000;
    font-size: 14px;
    display: flex;
    align-items: start;
    gap: 7px;
    margin-top: 10px;
}
.need_quote .in svg {
    min-height: 15px;
    min-width: 15px;
    color: #f10;
}

/* # */
table.woocommerce-table.woocommerce-table--custom-fields.shop_table.custom-fields tr:nth-child(2) {
    display: none;
}
p#billing_country_field {
    display: none;
}
.form-group input[type="text"]::placeholder{
color: #888!important;
}
.woocommerce-thankyou-order-details.order_details {
    background-color: #FFF;
    margin: 0;
    padding: 10px;
}
.woocommerce-thankyou-order-details.order_details li {
    margin: 0;
}
.wrap-get_quote {
    margin: 0 auto;
    width: 100%;
    max-width: 725px;
}

.woocommerce-billing-fields{
    position: fixed;
    max-width: 570px;
    display: none;
}
.woocommerce-billing-fields.active{
    display: block;
}
.woocommerce-billing-fields .button-group {
    display: flex;
    justify-content: center;
}
.btn-save-guest {
    min-width: 130px;
}

form.woocommerce-checkout .blockUI{
    display: none!important;
}
.woocommerce-account-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields, .checkout-order-review {
    display: none;
}
textarea.required,
input.required{
    border: solid 1px #F10!important;
}

.wrap-radio.required label{
    color: #F10!important;
}


form#form_cusinfo input,form#form_cusinfo select,
#billing_state,
div#wcmca_address_form_fieldset_billing input, div#wcmca_address_form_fieldset_billing select,
label.wcmca_form_inline_input_label, .woocommerce form .form-row label, .woocommerce-page form .form-row label.wcmca_form_inline_input_label,
.woocommerce form .form-row .input-text, .woocommerce-page form .form-row .input-text, #wcmca_country_field_shipping, #wcmca_country_field_billing{
    color: #000!important;
}

form#form_cusinfo input::placeholder,form#form_cusinfo select::placeholder,
div#wcmca_address_form_fieldset_billing input::placeholder, div#wcmca_address_form_fieldset_billing select::placeholder,
.woocommerce form .form-row .input-text::placeholder, .woocommerce-page form .form-row select::placeholder,
.woocommerce form .form-row .input-text::placeholder, .woocommerce-page form .form-row input::placeholder{
    color: #888!important;
}



.woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0 15px;
}
.woocommerce-billing-fields__field-wrapper p.form-row-first,
.woocommerce-billing-fields__field-wrapper p.form-row-last {
    float: none;
    width: calc(50% - 8px);
}

.woocommerce-billing-fields__field-wrapper p.form-row-wide {
    width: 100%;
}


/* Use 'order' to change the field's position */
.woocommerce-billing-fields__field-wrapper #billing_first_name_field {
    order: 1; 
}
.woocommerce-billing-fields__field-wrapper #billing_last_name_field {
    order: 2; 
}
.woocommerce-billing-fields__field-wrapper #billing_company_field {
    order: 3; 
}
.woocommerce-billing-fields__field-wrapper #billing_address_1_field {
    order: 4; 
}
.woocommerce-billing-fields__field-wrapper #billing_address_2_field {
    order: 5; 
}
.woocommerce-billing-fields__field-wrapper #billing_postcode_field {
    order: 6; 
}
.woocommerce-billing-fields__field-wrapper #billing_city_field {
    order: 7; 
}
.woocommerce-billing-fields__field-wrapper #billing_state_field {
    order: 8; 
}
.woocommerce-billing-fields__field-wrapper #billing_phone_field {
    order: 9; 
}
.woocommerce-billing-fields__field-wrapper #billing_email_field {
    order: 10; 
}
/* for tablet */
@media (max-width: 1028px) {
    tr.woocommerce-cart-form__cart-item.cart_item td.product-thumbnail img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
        height: 100px !important;
    }
    tr.woocommerce-cart-form__cart-item.cart_item td.product-thumbnail {
        padding-left: 7px;
        padding-top: 7px;
    }
    tr.woocommerce-cart-form__cart-item.cart_item td.product-name {
        padding-top: 10px;
    }
    tr.woocommerce-cart-form__cart-item.cart_item td {
        padding-right: 10px;
    }
    tr.woocommerce-cart-form__cart-item.cart_item td.product-remove {
        padding-top: 10px;
    }
    .woocommerce-NoticeGroup-checkout .woocommerce-error {
        bottom: 220px;
    }
    .third-box.f-two-box .items.item-3,
    .third-box.f-two-box>.box-top {
        flex-basis: 100%;
    }
    .detail-paymentm,
    .third-box .items.item-3 .list-order {
        flex-basis: calc(50% - 10px);
    }
    .third-box.f-two-box .items.item-3 {
        flex-basis: 100%;
        flex-wrap: wrap;
    }
    .invoice-address .main-invoice {
        width: 92%;
    }
    .third-box .items {
        flex-basis: calc(50% - 10px);
    }
    .third-box .items.item-3 {
        flex-basis: calc(100%);
        flex-direction: row;
        gap: 15px;
    }
    .third-box .items.item-3 .list-items_c {
        flex-basis: 100%;
    }
    .detail-payment,
    .third-box .items.item-3 .list-order {
        flex-basis: calc(50% - 8px);
    }
    .site-content .entry-content .list-product_b .img-product img {
        height: auto !important;
    }
}

.woocommerce-billing-fields .ai_button_popup {
    top: 23px;
    left: 125px;
}
.ai_button_popup img,
.ai_button_popup svg {
    width: 13px;
    height: 13px;
}
.ai_button_popup{
    display: flex;
    font-weight: 500;
    background: linear-gradient(167deg, #1c6cef 11.63%, #8c53cf 40.43%, #d95461 68.07%);
    color: #fff;
    position: absolute;
    top: 13px;
    left: 20px;
    width: 85px;
    height: 24px;
    gap: 1px;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 12px;
    border-radius: 50px;
    cursor: pointer;
}


.wpt-form-ocr-popup {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}
.wpt-form-ocr-popup #wpt_ocr_uploadForm {
    position: absolute;
    bottom: 0;
    z-index: 101;
    background: #fff;
    width: 500px;
    height:auto;
    min-height: 300px;
    overflow-x: auto;
    padding: 40px 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 6px;
}


/* for mobile */
@media (max-width: 767px) {
    tr.woocommerce-cart-form__cart-item.cart_item td.product-remove {
        padding: 0;
        bottom: 60px;
        right: 1px;
    }
    .top-message .form-group span.label {
        min-width: 43px;
    }
    .wrap-payment-tab .payment-nav {
        flex-wrap: wrap;
        gap: 8px;
    }
    .wrap-payment-tab .payment-nav li {
        width: calc(50% - 4px);
        margin-bottom: 0;
    }
    .third-box.f-two-box>.box-top .box-address,
    .third-box.f-two-box>.box-top {
        flex-wrap: wrap;
    }
    .third-box.f-two-box>.box-top .items {
        flex-basis: 100%;
    }
    .address-tax .form-row.form-row-3 {
        grid-template-columns: 1fr 1fr;
    }
    .address-tax .form-row.form-row-4 {
        grid-template-columns: 1fr 1fr;
    }
    .address-tax .form-row.form-row-3 .form-group:last-child {
        grid-column: span 2;
    }

    .third-box .items.item-3 {
        flex-basis: calc(100%);
        flex-direction: row;
        gap: 15px;
    }
    .detail-payment, .third-box .items.item-3 .list-order,
    .third-box .items,
    .third-box .items.item-3 .list-order,
    .third-box .items.item-3 .list-items_c {
        flex-basis: 100%;
    }
    
}
   

