/* Réinitialisation et base */
* { box-sizing: border-box; }

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1000px;
    margin: 180px auto 50px auto; /* padding-top inclus ici pour libérer le header */
    padding: 20px;
}

/* Design Produit */
.product-img { flex: 1; min-width: 300px; }
.product-img img { width: 100%; max-width: 420px; border-radius: 15px; display: block; }
.product-info { flex: 1; min-width: 300px; }

/* Nouveau design Quantity & Cart */
.cart-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 20px;
}

.quantity-box {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.quantity-box button {
    background: #f8f9fa;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.2rem;
}

.quantity-box input {
    width: 50px;
    text-align: center;
    border: none;
    outline: none;
    font-weight: bold;
}

.btn-add-cart {
    background: #D4C57F;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-add-cart:hover { background: #168048; transform: translateY(-2px); }

/* Modale (reste identique mais assurons le z-index) */
.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9999; justify-content: center; align-items: center; }