/* CHECKOUT PAGE */



/* Coupon Area */
.coupon-form .form-control:focus {
  border-color: var(--wp--preset--color--secondary)!important;
}


/* Checkout Form */
.woocommerce-checkout-review-order-table {
    width: 100%!important;
    border-collapse: collapse!important;
    font-size: 0.95rem!important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 12px 16px!important;
    border: 1px solid rgb(240, 240, 240)!important;
    vertical-align: top!important;
}

.woocommerce-checkout-review-order-table thead th {
    background-color: var(--wp--preset--color--primary)!important;
    color: white!important;
    text-align: left!important;
}

.woocommerce-checkout-review-order-table tfoot th {
    text-align: left!important;
    font-weight: 600!important;
}

.woocommerce-checkout-review-order-table tfoot td {
    text-align: right!important;
    font-weight: 600!important;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td {
    color: #333!important;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-totals th {
    white-space: nowrap!important;
}

.woocommerce-checkout-review-order-table .order-total strong {
    font-size: 1.1rem!important;
    color: #000!important;
}

.woocommerce-checkout-review-order-table small {
    display: block!important;
    color: #6c757d!important;
    font-size: 0.85rem!important;
    margin-top: 4px!important;
}

/* Billing Area */
.woocommerce-billing-fields {
    margin-bottom: 2rem !important;
    padding: 1rem 0;
}

.woocommerce-billing-fields h3 {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
}

.woocommerce-billing-fields h3 span {
    font-size: 0.85rem !important;
    color: #6c757d !important;
}

.woocommerce-billing-fields h3 span.required {
    color: red !important;
}

.woocommerce-billing-fields h3 span.required:after {
    content: "*";
    color: red !important;
}

.woocommerce-billing-fields h3 span.required:before {
    content: "";
}

.woocommerce-billing-fields .form-row {
    margin-bottom: 1.25rem;
}

.woocommerce-billing-fields .form-row label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
    color: #333;
}

.woocommerce-billing-fields input.input-text,
.woocommerce-billing-fields select,
.woocommerce-billing-fields textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc!important;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}

.woocommerce-billing-fields input.input-text:focus,
.woocommerce-billing-fields select:focus,
.woocommerce-billing-fields textarea:focus {
    border-color: var(--wp--preset--color--secondary);
    outline: none;
    box-shadow: 0 0 0 1px var(--wp--preset--color--secondary);
}



/* Payment & TCs */
#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
    background: rgb(207 207 208 / 14%);
    border-radius: 5px;
    color: var(--wp--preset--color--primary);
}

#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    padding: 1em;
    margin: 1em 0;
    font-size: .92em;
    border-radius: 2px;
    line-height: 1.5;
    background-color: #f4f4f4;
    color: #515151;
}

#add_payment_method #payment div.payment_box::before, .woocommerce-cart #payment div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before {
display: none;
}




.woocommerce-checkout #payment {
    margin-top: 1rem;
}
.woocommerce-checkout #payment h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.woocommerce-checkout #payment h3 span {
    font-size: 0.85rem;
    color: #6c757d;
}
.woocommerce-checkout #payment h3 span.required {
    color: red;
}
.woocommerce-checkout #payment h3 span.required:after {
    content: "*";
    color: red;
}
.woocommerce-checkout #payment h3 span.required:before {
    content: "";
}

.custom-checkout-notice {
    font-size: 0.95rem;
    background-color: var(--wp--preset--color--primary)!important;
    color: white!important;
    border-left: 4px solid var(--wp--preset--color--secondary);
}

/* Checkout Button */
#order_review .button {
    width: 100% !important;
    display: block;
    margin-top: 1rem;
}