/* Cart Page ----- */
.woocommerce-cart,
.woocommerce-cart .shop_table {
    --btn-mh: 44px;
    --border-color: rgb(var(--color-border-1), 15%);
    --border-title-color: rgb(var(--color-border-1));
}


.cart_item .product-name a {
    color: rgb(var(--color-text-basic));
    font-weight: 500;
}

.woocommerce-cart .checkout_coupon .button {
    background-color: rgb(var(--bg));
    border: 1px solid var(--border-color);
    height: var(--btn-mh);
    border-radius: var(--radius-small);
    color: rgb(var(--color-text-title));
}

.woocommerce-cart main .button:not(.is-link, .is-form) {
    min-height: var(--btn-mh);
    align-items: center;
    justify-content: center;
    font-weight: 500;
    text-transform: unset;
    letter-spacing: 0;
    font-size: var(--size-small);
    border-radius: var(--radius-small);
    border-width: 1px;
    display: inline-flex;
}


/* Checkout Page ----- */
body.woocommerce-checkout,
.shop_table {
    --border-color: rgb(var(--color-border-1), 15%);
    --border-title-color: rgb(var(--color-primary));
    --input-h: 50px;
}

body.woocommerce-checkout .input-text {
    height: var(--input-h);
    font-size: 16px;
    box-shadow: none;
    border: 1px solid var(--border-color);
    padding: 12px 15px;
}

body.woocommerce-checkout .woocommerce-invalid .input-text {
    border-color: var(--fs-color-alert);
}

body.woocommerce-checkout #ship-to-different-address {
    background-color: rgb(var(--bg-2nd));
    padding: 10px 12px;
}

body.woocommerce-checkout #ship-to-different-address label {
    font-weight: 600;
    font-size: var(--size-small);
    cursor: pointer;
}

body.woocommerce-checkout .checkout_coupon .button {
    color: rgb(var(--bg));
    text-shadow: none;
    background-color: rgb(var(--bg-opposite));
    text-transform: unset;
    letter-spacing: 0;
    height: var(--input-h);
}

.woocommerce .shop_table td,
.woocommerce .shop_table th,
.woocommerce .shop_table thead th {
    border-width: 1px;
}

.woocommerce .shop_table thead th,
.woocommerce .shop_table .order-total th,
.woocommerce .shop_table .order-total td {
    padding-top: 17px;
    padding-bottom: 17px;
    border-color: var(--border-title-color);
}

button#place_order {
    font-size: 1rem;
    border-radius: var(--radius-small);
    font-weight: 600;
}

.wc-select-search-box {
    position: relative;
    margin-bottom: 1em;
}

.wc-select-search-box .el-curent-name {
    height: var(--input-h);
    font-size: 16px;
    box-shadow: none;
    border: 1px solid var(--border-color);
    padding: 12px 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    position: relative;
}

.woocommerce-invalid .wc-select-search-box .el-curent-name {
    border-color: var(--fs-color-alert);
}

.wc-select-search-box .el-curent-name:before {
    content: '\e5cf';
    font-family: var(--ff-material-outline);
    font-size: 1.2em;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
}

.wc-select-search-box .el-popup {
    position: absolute;
    width: 100%;
    max-height: 300px;
    overflow: hidden;
    left: 0;
    top: 100%;
    background-color: rgb(var(--bg));
    z-index: 100;
    box-shadow: 0 10px 20px rgb(var(--color-text-title), 10%);
    display: flex;
    flex-direction: column;
    transition: 320ms all;
    transform: translatey(-5px);
    opacity: 0;
    pointer-events: none;
}

.wc-select-search-box.active .el-popup {
    transform: translatey(0px);
    opacity: 1;
    pointer-events: all;
}

.wc-select-search-box .el-input-wrap {
    padding: 14px;
}

.wc-select-search-box input {
    font-size: 16px;
    border: 1px solid var(--border-color);
    box-shadow: none;
    min-height: 44px;
    margin: 0;
}

.wc-select-search-box input:focus {
    box-shadow: none;
}

.wc-select-search-box .el-options-wrap {
    flex: 1 1;
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 16px;
}

.wc-select-search-box .option-empty-result {
    font-size: 1rem;
    padding: 8px 14px;
    cursor: pointer;
    transition: 320ms all;
}

.wc-address-search .input-main {
	display: none!important;
}

.wc-select-search-box .option {
    font-size: 1rem;
    padding: 9px 14px;
    cursor: pointer;
    transition: 320ms all;
    display: none;
}

.wc-select-search-box .option.show {
    display: block;
}

.wc-select-search-box .option:hover,
.wc-select-search-box .option.current {
    background-color: rgb(var(--bg-opposite), 5%);
}

.wc-select-search-box+.input-main {
    display: none;
}

.woocommerce-invoice-fields {
    margin: 24px 0;
    background-color: rgb(var(--bg-2nd));
    clear: both;
}

.woocommerce-invoice-fields .woocommerce-form__label {
    font-size: var(--size-small);
    font-weight: 600;
    overflow: hidden;
    text-transform: none;
    width: 100%;
    padding: 13px 10px;
    cursor: pointer;
}

.woocommerce-invoice-fields .invoice_address {
    display: none;
}

.woocommerce-invoice-fields.active .invoice_address {
    display: block;
}

.woocommerce-invoice-fields .el-field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 4%;
    padding: 0 20px 5px;
}

.woocommerce-invoice-fields #invoice_require_field {
    display: none;
}

.woocommerce-additional-fields {
    margin-top: 20px;
}


/* Thanks you Page ----- */
.woocommerce-order-received .shop_table tfoot th {
    font-size: var(--size-small);
}

.woocommerce-order-details .woocommerce-table {
    /* border: 1px solid #7e7e7e;
    padding: 20px;
    margin-bottom: 30px; */
}


.woocommerce-customer-details .addresses {
    display: grid;
    grid-template-columns: 1fr;
    gap: 38px;
}

.woocommerce-customer-details .woocommerce-column {
    padding: 0;
}

.woocommerce-customer-details .woocommerce-column--invoice-address {
    margin-top: 38px;
}

.woocommerce-column--shipping-address .woocommerce-column--invoice-address {
    display: none;
}

.woocommerce-customer-details .woocommerce-customer-details--email {
    display: none;
}

.woocommerce-customer-details .el-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    border: 1px solid rgb(var(--color-text-title), 10%);
}

.woocommerce-customer-details .el-info-item {
    font-size: var(--size-small);
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 15px;
    line-height: 1.4;
}

.woocommerce-customer-details .el-info-item+.el-info-item {
    border-top: 1px solid rgb(var(--color-text-title), 10%);
    padding-top: 15px;
}

.woocommerce-customer-details .el-info-label {
    font-weight: 600;
}

.woocommerce-customer-details .woocommerce-column__title {
    font-weight: 700;
    font-size: var(--size-2);
    letter-spacing: 0;
    margin-bottom: 16px;
    color: rgb(var(--color-text-title));
}

.woocommerce-customer-details address {
    font-size: 0;
    font-style: normal;
    line-height: 1.6;
}

.woocommerce-customer-details p {
    margin-bottom: 14px;
}

.woocommerce-order-details td {
    font-size: 1rem;
    line-height: 1.6;
}

.shop_table .wc-item-meta {
    margin: 13px 0;
}

.woocommerce-order-received .is-well.entry-content {
    background-color: transparent;
    box-shadow: none;
    padding: 0;
}

.woocommerce-order-received .entry-content .woocommerce-notice {
    color: rgb(var(--color-text-title));
    margin-bottom: 14px;
}

.woocommerce-order-overview .woocommerce-order-overview__email {
    display: none;
}