/* General Page */
.checkout-page {
    padding: 40px 0;
    background-color: #f7f8fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Main Card Layout */
.checkout-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.checkout-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.checkout-card h2 {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 600;
    color: #222;
}

/* Field Wrapper */
.form-section {
    margin-bottom: 20px;
}

.form-section label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
    color: #333;
}

/* Inputs and Textareas */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #1a33d6;
    outline: none;
}

/* Autocomplete Dropdown */
.autocomplete-dropdown {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 220px;
    overflow-y: auto;
    z-index: 1000;
}

.autocomplete-item {
    padding: 10px 14px;
    font-size: 14px;
    cursor: pointer;
}

.autocomplete-item:hover {
    background-color: #f0f0f0;
}

/* Order Summary */
.order-summary table {
    width: 100%;
    font-size: 15px;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.order-summary td {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #444;
}

/* Product Display */
.product-summary {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-summary img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* Payment Section */
.payment-options label {
    display: block;
    font-weight: 500;
    margin: 10px 0;
    cursor: pointer;
}

.payment-options input[type="radio"] {
    margin-right: 10px;
}

/* Submit Button */
.checkout-submit {
    width: 100%;
    padding: 16px;
    background: #1a33d6;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.checkout-submit:hover {
    background: #102ca8;
}



.form-section {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.form-section label {
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    font-size: 14px;
}

.form-section input,
.form-section textarea {
    padding: 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.2s;
}

.form-section input:focus,
.form-section textarea:focus {
    border-color: #1a33d6;
    outline: none;
}