/* ===========================
   STYLE GLOBAL POLYFIX
   =========================== */

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #222;
}

/* ===========================
   TITRES & SECTIONS
   =========================== */

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 26px;
    font-weight: bold;
    margin: 40px 0 20px;
    color: #002147;
}

.section-title .icon {
    font-size: 30px;
}

/* ===========================
   BOUTONS
   =========================== */

.btn-primary {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-outline {
    display: inline-block;
    padding: 10px 18px;
    border: 2px solid #007bff;
    color: #007bff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.btn-outline:hover {
    background: #007bff;
    color: white;
}

.btn-danger {
    background: #dc3545;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.btn-danger:hover {
    background: #b02a37;
}

/* ===========================
   CARTES PRODUITS
   =========================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
    text-align: center;
}

.product-image span {
    font-size: 60px;
}

.product-name {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

.product-price {
    font-size: 20px;
    color: #d40000;
    font-weight: bold;
    margin: 10px 0;
}

.product-meta {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

/* ===========================
   PAGE PRODUIT
   =========================== */

.product-page {
    display: flex;
    gap: 40px;
    padding: 40px;
}

.product-image-large span {
    font-size: 120px;
}

.product-info {
    max-width: 500px;
}

/* ===========================
   FORMULAIRES
   =========================== */

.account-form input,
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.error-message {
    color: red;
    font-weight: bold;
    margin-bottom: 15px;
}

/* ===========================
   SUCCÈS / CONFIRMATION
   =========================== */

.success-container {
    max-width: 600px;
    margin: auto;
    text-align: center;
    padding: 40px;
}

.success-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 768px) {
    .product-page {
        flex-direction: column;
        text-align: center;
    }

    .product-image-large span {
        font-size: 90px;
    }
}

