/*
Theme Name: Krowd Child
Description: Child theme for the Krowd themes
Author: gaviathemes
Template: krowd
*/
/* عام */
body {
    background: #f5f6fa;
    font-family: 'Cairo', sans-serif;
}

/* Wrapper */
.woocommerce-checkout {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

/* Cards */
.woocommerce-checkout .col2-set,
.woocommerce-checkout-review-order {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

/* عناوين */
.woocommerce-checkout h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
}

/* Inputs */
.woocommerce-checkout input,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    background: #fafafa;
    transition: 0.3s;
    font-size: 14px;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: #a61d2d;
    background: #fff;
    outline: none;
}

/* Labels */
.woocommerce-checkout label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

/* مسافات */
.form-row {
    margin-bottom: 15px;
}

/* Order Box */
#order_review {
    border-radius: 16px;
    background: #fff;
}

/* الجدول */
.shop_table {
    border: none;
}

.shop_table th,
.shop_table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

/* Payment */
#payment {
    background: #fafafa;
    padding: 15px;
    border-radius: 12px;
}

/* Radio buttons */
#payment input[type="radio"] {
    accent-color: #a61d2d;
    transform: scale(1.2);
    margin-left: 8px;
}

/* زرار الطلب */
#place_order {
    background: #a61d2d;
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
    border: none;
}

#place_order:hover {
    background: #8c1725;
    transform: translateY(-2px);
}

/* Checkbox */
input[type="checkbox"] {
    accent-color: #a61d2d;
}

/* Responsive */
@media (min-width: 768px) {
    .woocommerce-checkout form.checkout {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 20px;
    }

    .col2-set {
        order: 1;
    }

    #order_review {
        order: 2;
        position: sticky;
        top: 20px;
        height: fit-content;
    }
}