/* 
 Theme Name:   astra-child
 Theme URI:    
 Description:  
 Author:       admin
 Author URI:   https://sheraz-ahmad.techsadigital.com
 Template:     astra
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/


/* =========================================
   CUSTOM WOOCOMMERCE CHECKOUT
   ========================================= */

.custom-checkout {
    max-width: 850px;
    margin: 40px auto;
    padding: 0 20px;
}

.custom-checkout-main {
    width: 100%;
}

.checkout-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 24px;
}

.checkout-section h2 {
    margin: 0 0 24px;
    color: #111827;
    font-size: 22px;
    font-weight: 600;
}

/* Form labels */

.custom-checkout-form label {
    display: block;
    margin-bottom: 7px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
}

/* Inputs */

.custom-checkout-form input.input-text,
.custom-checkout-form select,
.custom-checkout-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    box-sizing: border-box;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    font-size: 15px;
}

.custom-checkout-form textarea {
    min-height: 110px;
}

/* Focus */

.custom-checkout-form input:focus,
.custom-checkout-form select:focus,
.custom-checkout-form textarea:focus {
    outline: none;
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

/* Field spacing */

.custom-checkout-form .form-row {
    margin-bottom: 18px;
}

/* Two columns */

.custom-checkout-form .form-row-first,
.custom-checkout-form .form-row-last {
    width: 48%;
}

.custom-checkout-form .form-row-first {
    float: left;
}

.custom-checkout-form .form-row-last {
    float: right;
}

.custom-checkout-form .form-row-wide {
    clear: both;
    width: 100%;
}

/* Clear */

.custom-checkout-form .form-row::after {
    content: "";
    display: table;
    clear: both;
}

/* Order table */

.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
}

.woocommerce-checkout-review-order-table th:last-child,
.woocommerce-checkout-review-order-table td:last-child {
    text-align: right;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    font-size: 18px;
    font-weight: 700;
}

/* Payment */

#payment {
    padding: 20px;
    background: #f9fafb;
    border-radius: 10px;
}

#payment ul.payment_methods {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

/* Place order */

#place_order {
    width: 100%;
    min-height: 52px;
    padding: 14px 20px;
    border: 0;
    border-radius: 8px;
    background: #111827;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

#place_order:hover {
    background: #000;
}

/* Thank You */

.custom-thankyou-message {
    max-width: 850px;
    margin: 40px auto;
    padding: 35px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-align: center;
}

.custom-thankyou-message h1 {
    margin: 0;
    color: #111827;
    font-size: 28px;
    line-height: 1.4;
}

/* Mobile */

@media (max-width: 768px) {

    .custom-checkout {
        margin: 20px auto;
        padding: 0 15px;
    }

    .checkout-section {
        padding: 20px;
    }

    .custom-checkout-form .form-row-first,
    .custom-checkout-form .form-row-last {
        float: none;
        width: 100%;
    }

    .custom-checkout-form input.input-text,
    .custom-checkout-form select,
    .custom-checkout-form textarea {
        font-size: 16px;
    }

    .custom-thankyou-message {
        margin: 25px 15px;
        padding: 25px 18px;
    }

    .custom-thankyou-message h1 {
        font-size: 22px;
    }
}