/* Basic styling for the custom checkout page */
.my-single-product-checkout-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-family: 'Inter', sans-serif;
}

.my-single-product-checkout-wrapper .checkout-title {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 2em;
}

.my-single-product-checkout-wrapper .product-summary {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.my-single-product-checkout-wrapper .product-summary img {
    max-width: 150px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.my-single-product-checkout-wrapper .product-summary h3 {
    font-size: 1.8em;
    color: #555;
    margin-bottom: 10px;
}

.my-single-product-checkout-wrapper .product-summary .price {
    font-size: 1.5em;
    font-weight: bold;
    color: #e74c3c; /* Red color for price */
}

.my-single-product-checkout-wrapper .product-summary p {
    color: #777;
    line-height: 1.6;
}

.my-single-product-checkout-wrapper .checkout-form-container {
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.my-single-product-checkout-wrapper .billing-details-heading,
.my-single-product-checkout-wrapper .custom-options-heading {
    font-size: 1.6em;
    color: #333;
    margin-top: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Form field styling */
.my-single-product-checkout-wrapper .form-row {
    margin-bottom: 15px;
}

.my-single-product-checkout-wrapper .form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.my-single-product-checkout-wrapper .form-row input[type="text"],
.my-single-product-checkout-wrapper .form-row input[type="email"],
.my-single-product-checkout-wrapper .form-row input[type="tel"],
.my-single-product-checkout-wrapper .form-row textarea,
.my-single-product-checkout-wrapper .form-row select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
}

.my-single-product-checkout-wrapper .form-row textarea {
    min-height: 100px;
    resize: vertical;
}

/* Radio and Checkbox styling */
.my-single-product-checkout-wrapper .radio-label,
.my-single-product-checkout-wrapper .checkbox-label {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
    font-weight: normal;
    cursor: pointer;
    color: #666;
}

.my-single-product-checkout-wrapper .radio-label input[type="radio"],
.my-single-product-checkout-wrapper .checkbox-label input[type="checkbox"] {
    width: auto; /* Override 100% width */
    margin-right: 5px;
    vertical-align: middle;
}

.my-single-product-checkout-wrapper .brand-color-options .brand-heading {
    font-size: 1.3em;
    color: #444;
    margin-top: 20px;
    margin-bottom: 10px;
}

.my-single-product-checkout-wrapper .brand-color-options .checkbox-group {
    padding-left: 10px;
    border-left: 3px solid #eee;
    margin-bottom: 15px;
}

/* Place Order Button */
.my-single-product-checkout-wrapper .place-order .button.alt {
    background-color: #e74c3c; /* Red button */
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.my-single-product-checkout-wrapper .place-order .button.alt:hover {
    background-color: #c0392b; /* Darker red on hover */
}

/* WooCommerce notices */
.woocommerce-message, .woocommerce-error, .woocommerce-info {
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 1em;
}
.woocommerce-message {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}
.woocommerce-error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}
.woocommerce-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .my-single-product-checkout-wrapper {
        margin: 20px;
        padding: 15px;
    }
    .my-single-product-checkout-wrapper .checkout-title {
        font-size: 1.5em;
    }
    .my-single-product-checkout-wrapper .product-summary img {
        max-width: 100px;
    }
    .my-single-product-checkout-wrapper .product-summary h3 {
        font-size: 1.4em;
    }
    .my-single-product-checkout-wrapper .product-summary .price {
        font-size: 1.2em;
    }
    .my-single-product-checkout-wrapper .billing-details-heading,
    .my-single-product-checkout-wrapper .custom-options-heading {
        font-size: 1.3em;
    }
    .my-single-product-checkout-wrapper .place-order .button.alt {
        font-size: 1em;
        padding: 12px 20px;
    }
}
