:root {
    --primary: #0a4b7a;        /* Nouvelle couleur principale (bleu foncé) */
    --secondary: #759f35;      /* Vert conservé */
    --dark: #000000;
    --light: #f4f4f4;
}

header {
    background: linear-gradient(135deg, #0a4b7a 0%, #1a6b9a 100%);
    /* le reste inchangé */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
}

/* Header */
header {
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    max-height: 50px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: background 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
    background: var(--secondary);
    border-radius: 5px;
}

/* Sections */
.section {
    padding: 2rem;
}

.section h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--secondary);
    display: inline-block;
}

/* Grilles */
.categories-grid,
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-card,
.product-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    background: white;
}

.category-card:hover,
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.category-card img,
.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-card h3,
.product-card h3 {
    padding: 0.5rem;
    color: var(--dark);
}

.product-card .price {
    font-weight: bold;
    color: var(--secondary);
    padding: 0 0.5rem 0.5rem;
}

.product-card .category {
    display: block;
    padding: 0 0.5rem 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

/* Détail produit */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.product-detail img {
    width: 100%;
    border-radius: 8px;
}

.product-info h1 {
    color: var(--primary);
}

.product-info .price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary);
    margin: 1rem 0;
}

.description {
    margin: 1rem 0;
    line-height: 1.8;
}

.btn-whatsapp {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 0.5rem 1rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    .categories-grid,
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

.representatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.representative-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    background: white;
    transition: transform 0.3s;
}

.representative-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.representative-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.representative-card h3 {
    margin: 0.5rem 0 0.2rem;
    color: var(--dark);
}

.representative-card .country {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
}

.representative-card .contact {
    font-size: 0.9rem;
    color: #555;
    padding-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .representatives-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}
/* Représentant détail */
.representative-detail {
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.representative-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.representative-header img {
    width: 100%;
    border-radius: 8px;
}

.rep-info h1 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.rep-info .country,
.rep-info .contact {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.rep-info .country i,
.rep-info .contact i {
    color: var(--secondary);
    margin-right: 0.5rem;
}

.rating-summary {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.avg-rating {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--dark);
    margin-right: 0.5rem;
}

.stars {
    display: flex;
    gap: 0.2rem;
    margin-right: 0.5rem;
}

.stars i,
.review-stars i {
    color: #ddd;
    font-size: 1.1rem;
}

.stars i.filled,
.review-stars i.filled {
    color: #ffc107;
}

.total-reviews {
    color: #666;
    font-size: 0.9rem;
}

/* Section avis */
.reviews-section {
    margin-top: 3rem;
}

.review-form {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.2rem;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ddd;
    transition: color 0.2s;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #ffc107;
}

.btn-submit {
    background: var(--primary);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.btn-submit:hover {
    background: var(--secondary);
}

.alert {
    padding: 0.8rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.reviews-list {
    margin-top: 1.5rem;
}

.review-item {
    border-bottom: 1px solid #eee;
    padding: 1.2rem 0;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3rem;
}

.review-date {
    color: #888;
    font-size: 0.85rem;
}

.review-comment {
    margin-top: 0.5rem;
    line-height: 1.6;
}

.no-reviews {
    color: #888;
    font-style: italic;
    padding: 1rem 0;
}

@media (max-width: 768px) {
    .representative-header {
        grid-template-columns: 1fr;
    }
    .representative-header img {
        max-width: 300px;
        margin: 0 auto;
    }
}
/* ----- HERO SECTION AVEC IMAGE DE FOND ----- */
.hero {
    position: relative;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    overflow: hidden;
    
    /* Image de fond */
    background-image: url('../images/hero-bg.jpg'); /* adaptez le nom du fichier */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Dégradé superposé pour améliorer la lisibilité */
    background-blend-mode: overlay;
    background-color: var(--primary); /* couleur de repli */
}

/* Dégradé plus marqué (optionnel, si vous préférez un overlay sombre) */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,140,208,0.9) 0%, rgba(0,102,160,0.9) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* Le reste (titres, bouton) reste inchangé */

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}

.hero .tagline {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary);
    text-shadow: 1px 1px 0 rgba(0,0,0,0.2);
}

.hero .sub-tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.7;
}

.hero-btn {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 0.8rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-btn:hover {
    background: #5f8230;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 1rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero .tagline {
        font-size: 1.4rem;
    }
    .hero .sub-tagline {
        font-size: 1rem;
    }
}

/* Section produits similaires */
.similar-products {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}
.similar-products h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}
/* Supprimer le soulignement de tous les liens */
a {
    text-decoration: none;
}

/* Pour les cartes produit, on garde le style au survol */
.product-card a {
    display: block;
    color: inherit;
}

.product-card a:hover {
    opacity: 0.9;
}

/* En-tête de catégorie */
.category-header {
    margin-bottom: 2rem;
}

.category-cover {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
}

.category-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.category-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    width: 90%;
}

.category-title h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.category-title p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.page-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s;
}

.page-link:hover,
.page-link.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Message aucun produit */
.no-products {
    text-align: center;
    padding: 3rem;
    background: #f9f9f9;
    border-radius: 8px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .category-cover {
        height: 200px;
    }
    .category-title h1 {
        font-size: 1.8rem;
    }
    .pagination .page-link {
        padding: 0.4rem 0.8rem;
    }
}
.category-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}
/* Dans assets/css/style.css */
.product-info .category a {
    color: var(--secondary);
    text-decoration: underline;
    font-weight: 500;
}
.product-info .category a:hover {
    color: var(--primary);
}
/* Page Contact */
.contact-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1a6b9a 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.shops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.shop-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.shop-image {
    height: 200px;
    overflow: hidden;
}

.shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.shop-card:hover .shop-image img {
    transform: scale(1.05);
}

.shop-info {
    padding: 1.5rem;
}

.shop-info h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.shop-country, .shop-phone {
    color: #555;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shop-country i, .shop-phone i {
    color: var(--secondary);
    width: 20px;
}

.btn-whatsapp-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 1rem;
    transition: background 0.3s;
}

.btn-whatsapp-small:hover {
    background: #128C7E;
}

.no-shops {
    text-align: center;
    padding: 3rem;
    color: #666;
    grid-column: 1 / -1;
}
/* Page À propos */
.about-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1a6b9a 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}

.about-hero .tagline {
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-story,
.about-values,
.about-commitment {
    padding: 4rem 0;
}

.about-story h2,
.about-values h2,
.about-commitment h2 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    position: relative;
}

.about-story h2:after,
.about-values h2:after,
.about-commitment h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--secondary);
    margin: 1rem auto 0;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
    color: #555;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.value-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.about-commitment {
    background: #f9f9f9;
    text-align: center;
}

.about-commitment p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
}

.signature {
    margin-top: 2rem;
    font-style: italic;
    color: var(--primary);
    font-weight: 600;
}
/* ===== ANIMATIONS ===== */

/* Effet au survol des cartes produit */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.1);
}

.product-card img {
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

/* Apparition progressive du prix et du bouton (optionnel) */
.product-card .price {
    transition: color 0.3s ease;
}

.product-card:hover .price {
    color: var(--secondary);
}

/* Effet sur les catégories */
.category-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.category-card img {
    transition: transform 0.5s ease;
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-card h3 {
    transition: color 0.3s ease;
}

.category-card:hover h3 {
    color: var(--primary);
}

/* Animation au chargement de la page (fade-in) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.products-grid .product-card,
.categories-grid .category-card,
.shops-grid .shop-card,
.values-grid .value-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

/* Décalage progressif de l'animation */
.products-grid .product-card:nth-child(1) { animation-delay: 0.1s; }
.products-grid .product-card:nth-child(2) { animation-delay: 0.2s; }
.products-grid .product-card:nth-child(3) { animation-delay: 0.3s; }
.products-grid .product-card:nth-child(4) { animation-delay: 0.4s; }
.products-grid .product-card:nth-child(5) { animation-delay: 0.5s; }
.products-grid .product-card:nth-child(6) { animation-delay: 0.6s; }
/* ... ajouter jusqu'à n si nécessaire */

/* Effet de pulse sur le bouton WhatsApp (optionnel) */
.btn-whatsapp {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
/* Sélecteur de quantité */
.quantity-selector {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.quantity-selector label {
    font-weight: 600;
    margin-right: 1rem;
    color: var(--dark);
}

.quantity-selector input {
    width: 80px;
    padding: 0.5rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
    transition: border-color 0.3s;
}

.quantity-selector input:focus {
    border-color: var(--primary);
    outline: none;
}

/* Bouton WhatsApp amélioré */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.btn-whatsapp i {
    font-size: 1.2rem;
}
#produits-une h2 i {
    margin-right: 0.5rem;
}
/* Page Contact – Représentants & Rendez-vous */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.representatives-column,
.appointment-column {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.representatives-column h2,
.appointment-column h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* Liste des représentants */
.representatives-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.rep-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: #f9f9f9;
    transition: transform 0.2s;
}

.rep-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.rep-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.rep-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.rep-info h3 {
    margin: 0 0 0.3rem;
    font-size: 1.1rem;
    color: var(--primary);
}

.rep-country,
.rep-contact {
    margin: 0.2rem 0;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.rep-country i,
.rep-contact i {
    color: var(--secondary);
    width: 16px;
}

.btn-whatsapp-small {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
    padding: 0.3rem 0.8rem;
    background: #25D366;
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    text-decoration: none;
}

.btn-whatsapp-small:hover {
    background: #128C7E;
}

/* Formulaire de rendez-vous */
.appointment-form {
    margin-top: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group.half {
    flex: 1;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.btn-submit {
    background: var(--primary);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #0a3a5a;
}

.alert {
    padding: 0.8rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .rep-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
/* Total dynamique */
.total-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0.5rem 0;
}

/* Sélecteur de quantité */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.quantity-selector label {
    font-weight: 600;
    color: var(--dark);
}

.quantity-selector input {
    width: 80px;
    padding: 0.5rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
}

.quantity-selector input:focus {
    border-color: var(--primary);
    outline: none;
}

/* Bouton WhatsApp */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Message d'erreur si pas de WhatsApp */
.error-message {
    color: #c00;
    background: #ffe6e6;
    padding: 0.8rem;
    border-radius: 5px;
    margin-top: 1rem;
}

/* Produits similaires */
.similar-products {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.similar-products h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}