/* ============================================= */
/* ==      STYLES POUR LA PAGE DE COMMANDE      == */
/* ============================================= */
body {
    background-color: #f8f9fa;
}

.order-page-container {
    max-width: 1100px;
    margin: 40px auto;
    background-color: #ffffff;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    border-radius: 10px;
    overflow: hidden;
}

.order-grid {
    display: grid;
    grid-template-columns: 3fr 2fr; /* 60% pour le formulaire, 40% pour le résumé */
}

/* Section du formulaire */
.order-form-section {
    padding: 60px;
}

.order-form-section h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.order-form-section p {
    color: #666;
    margin-bottom: 40px;
}

form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #f8f9fa;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

form input:focus {
    outline: none;
    border-color: var(--color-green);
    box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.2);
}

form .cta-button {
    width: 100%;
    font-size: 1.1rem;
    padding: 18px;
    margin-top: 10px;
}


/* Section du résumé de la commande */
.order-summary-section {
    background-color: #f8f9fa;
    padding: 60px;
    border-left: 1px solid #e9ecef;
}

.cover-image {
    width: 100%;
    max-width: 250px;
    margin: 0 auto 30px auto;
    display: block;
    border-radius: 5px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.order-summary-section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    margin-bottom: 15px;
}

.summary-item span:first-child {
    color: #666;
}

.summary-item.total {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.secure-info {
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

/* Responsive */
@media (max-width: 992px) {
    .order-grid {
        grid-template-columns: 1fr;
    }
    .order-summary-section {
        border-left: none;
        border-top: 1px solid #e9ecef;
    }
}

@media (max-width: 768px) {
    .order-page-container {
        margin: 0;
        border-radius: 0;
    }
    .order-form-section, .order-summary-section {
        padding: 40px;
    }
    .order-form-section h1 {
        font-size: 2rem;
    }
}