:root {
    --main-color: #ff7a00; /* orange */
    --text-color: #000;
    --background-color: #fff;
    --dark-color: #111;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    background-color: var(--dark-color);
    color: white;
    padding: 15px 0;
}

.logo {
    margin: 0;
}

.nav-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

.hero-section {
    background-color: var(--main-color);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.hero-section .btn {
    background-color: white;
    color: var(--main-color);
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 20px;
    display: inline-block;
}

.site-footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}


/* Menu responsive */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: var(--dark-color);
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        padding: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

/* Produits en vedette */
.featured-products {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.featured-products h3 {
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.product-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 280px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.product-card:hover {
    transform: scale(1.02);
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.product-card h4 {
    margin: 15px 0 10px;
    color: var(--main-color);
}

.product-card p {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Page détail produit */
.product-detail {
    padding: 60px 20px;
    background-color: #fff;
}

.product-detail-box {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.product-detail-box img {
    width: 350px;
    max-width: 100%;
    border-radius: 10px;
}

.detail-info {
    max-width: 600px;
}

.detail-info h2 {
    font-size: 30px;
    margin-bottom: 15px;
    color: var(--main-color);
}

.detail-info p {
    font-size: 16px;
    margin-bottom: 20px;
}

.detail-info h3 {
    font-size: 22px;
    color: var(--dark-color);
    margin-bottom: 15px;
}

/* Formulaire de filtre */
.filter-form {
    margin-bottom: 30px;
    text-align: center;
}

.filter-form label {
    font-weight: bold;
    margin-right: 10px;
}

.filter-form select {
    padding: 8px 12px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

table th, table td {
    border: 1px solid #ccc;
    padding: 12px;
    text-align: center;
}

table th {
    background-color: var(--main-color);
    color: #fff;
}

table a {
    color: red;
    font-weight: bold;
    text-decoration: none;
}

.checkout-form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkout-form input,
.checkout-form textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
}

body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    background-color: #f7f7f7;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

h1, h2, h3 {
    color: #222;
}

a {
    color: #ff6600;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    margin-top: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

table th, table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

@media (max-width: 768px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }

    table td {
        padding: 10px;
        border: none;
        border-bottom: 1px solid #eee;
    }
}

