/* Hide "Ship to a different address" section */
.woocommerce-checkout #ship-to-different-address {
    display: none;
}

/* Adjust the width of the form */
.woocommerce-checkout form {
    max-width: 800px;
    margin: 0 auto;
}

/* Style form fields */
.woocommerce-checkout label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #000; /* Black text color */
}

#order_review_heading {
    font-size: 1.5em; /* Adjust the font size as needed */
    color: #333; /* Set the text color */
    text-align: center; /* Align the text to the center */
    /* Add any additional styles you want, such as font-family, margin, padding, etc. */
}


.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #000; /* Black border color */
    border-radius: 6px;
    box-sizing: border-box;
    color: #000 !important; /* Black text color */
}

/* Style radio and checkbox */
.woocommerce-checkout input[type="radio"],
.woocommerce-checkout input[type="checkbox"] {
    margin-right: 5px;
}

/* Style buttons */
.woocommerce-checkout #place_order {
    display: inline-block;
    padding: 15px 30px;
    background-color: #000; /* Black color */
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease; /* Smooth transition */
}

.woocommerce-checkout #place_order:hover {
    background-color: #0000; /* Darker gray color on hover */
}

/* Style order review table */
.woocommerce-checkout table.shop_table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
    border: 1px solid #000; /* Black border color */
    padding: 15px;
    text-align: left;
    color: #000; /* Black text color */
}

/* Style order total section */
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
    margin-top: 20px;
    color: #000; /* Black text color */
}

/* Style error messages */
.woocommerce-error {
    border: 1px solid #e74c3c; /* Red color */
    background-color: #f2dede; /* Lighter red color */
    color: #e74c3c; /* Red color */
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    color: #000 !important; /* Black text color */
}

/* Style headlines (adjust h1, h2, h3, etc.) */
.woocommerce-checkout h1,
.woocommerce-checkout h2,
.woocommerce-checkout h3,
.woocommerce-checkout h4,
.woocommerce-checkout h5,
.woocommerce-checkout h6 {
    color: #000; /* Black text color */
}


/* Style buttons */
.woocommerce-checkout #place_order {
    width: 100%; /* Make the button full-width */
    display: block; /* Ensure it takes up the full width */
    padding: 15px 0; /* Adjust padding as needed */
    background-color: #000; /* Black color */
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease; /* Smooth transition */
}

.woocommerce-checkout #place_order:hover {
    background-color: #000; /* Darker gray color on hover */
}

/* Align WooCommerce checkout sections in a single column */
.woocommerce-checkout .col2-set, 
.woocommerce-checkout .col2-set .col-1, 
.woocommerce-checkout .col2-set .col-2, 
.woocommerce-checkout #customer_details, 
.woocommerce-checkout #order_review {

    float: none;
    width: 100%;
}

.woocommerce-checkout .woocommerce-checkout-review-order {
    margin-top: 20px; /* Adjust as needed */
}

.woocommerce-checkout .woocommerce-checkout-payment {
    margin-top: 20px; /* Adjust as needed */
}
/* Hide the shipping details section on the WooCommerce checkout page */
#shipping_address {
    display: none !important;
}

/* Remove checkboxes on the WooCommerce checkout page */
.woocommerce form .form-row input[type="checkbox"] {
    display: none !important;
}

/* Remove checkboxes and their labels on the WooCommerce checkout page */
.woocommerce form .form-row label.checkbox {
    display: none !important;
}
/* Hide privacy policy related content on the WooCommerce checkout page */
.woocommerce-privacy-policy-text,
.woocommerce-privacy-policy-link {
    display: none !important;
}


/* Hide the free shipping section on the WooCommerce checkout page */
.woocommerce-cart .shipping .woocommerce-shipping-fields {
    display: none !important;
}
/* Hide "Ship to a different address" section */
.woocommerce-checkout #ship-to-different-address {
    display: none;