/* Base styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    margin: 0;
    padding: 0;
}

.container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.order-section, .summary-section {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.order-section {
    width: 60%;
    margin-right: 2%;
}

.summary-section {
    width: 35%;
}

h2, h3 {
    margin-bottom: 20px;
    color: #333;
}

h2 {
    font-size: 1.8em;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

h3 {
    font-size: 1.4em;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.form-row input[type="text"], .form-row input[type="email"], .form-row select {
    width: 48%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
}

input[type="text"], input[type="email"], select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
}

label {
    display: block;
    margin-bottom: 10px;
    color: #555;
}

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

.button {
    width: 100%;
    padding: 15px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #555;
}

.order-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.order-summary img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.order-summary .summary-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-summary .amount {
    font-weight: bold;
    color: #333;
}

.order-summary .total {
    font-size: 1.5em;
    margin-top: 20px;
    color: #000;
}

.order-summary .total span {
    color: #e63946;
}

.product-summary {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-summary img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.product-name p {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* Responsive styles */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .order-section, .summary-section {
        width: 100%;
        margin: 0;
    }

    .order-section {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .form-row {
        flex-direction: column;
    }

    .form-row input[type="text"], .form-row input[type="email"], .form-row select {
        width: 100%;
    }
}
