﻿/* Styles communs pour green-collector */

/* Import du thÃ¨me de couleurs */
@import url('theme-colors.css');

/* Reset et styles de base */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-secondary);
    background: var(--background-color);
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
}

.logo::before {
    content: "â™»";
    font-size: 2rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: 500;
}

nav a:hover {
    opacity: 0.8;
}

nav a.active {
    color: var(--accent-color);
    font-weight: 600;
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #d97706;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.9), rgba(74, 124, 44, 0.9)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%234a7c2c" width="1200" height="600"/><circle fill="%232d5016" cx="200" cy="150" r="80" opacity="0.3"/><circle fill="%232d5016" cx="800" cy="400" r="120" opacity="0.3"/></svg>');
    background-size: cover;
    background-position: center;
    padding: 150px 2rem 100px;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.hero-nav {
    display: inline-flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-nav a {
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,0.7);
    color: white;
    text-decoration: none;
    font-weight: 600;
    backdrop-filter: blur(6px);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.hero-nav a:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

/* Categories Section */
.categories {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.section-intro {
    max-width: 720px;
    margin: 0 auto 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.category-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.category-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--text-secondary);
}

.category-action {
    display: inline-block;
    margin-top: auto;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
}

.category-action:hover {
    background: var(--primary-color);
    color: white;
}

/* Product Highlight Section */
.product-section {
    padding: 4rem 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-card::after {
    content: "";
    position: absolute;
    inset: auto -30px -30px auto;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at center, rgba(74, 124, 44, 0.15), transparent 70%);
    z-index: 0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 45px rgba(45, 80, 22, 0.15);
}

.product-card .tag {
    display: inline-block;
    background: rgba(74, 124, 44, 0.12);
    color: var(--primary-color);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

.product-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.product-card p {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    line-height: 1.3;
}

.product-card ul {
    list-style: none;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.product-card li {
    color: var(--text-secondary);
    padding-left: 1.2rem;
    margin-bottom: 0.4rem;
    position: relative;
    font-size: 0.85rem;
    line-height: 1.2;
}

.product-card li::before {
    content: "âœ”";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.product-link {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.status {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--warning-color);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.add-to-cart-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--warning-color);
    border: 2px solid var(--warning-color);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.add-to-cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.8rem;
}

.feature h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Promotions */
.promotions {
    padding: 4rem 2rem;
    background: #f1f7ed;
}

.promo-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.promo-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-left: 4px solid #d97706;
    position: relative;
}

.promo-card .discount {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #d97706;
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
}

.promo-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.promo-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.promo-card ul {
    padding-left: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

.promo-card li {
    margin-bottom: 0.5rem;
}

.promo-card .product-link {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.promo-card .product-link:hover {
    background: var(--primary-color);
    color: white;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s, color 0.3s;
}

.cta-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Footer */
footer {
    background: #1a2f0f;
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    nav ul {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Styles spÃ©cifiques pour les catÃ©gories */

/* Cendriers */
.tag {
    align-self: flex-start;
    background: rgba(74, 124, 44, 0.12);
    color: var(--primary-color);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Tri sÃ©lectif */
.card-content {
    padding: 1.9rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.card p.status {
    color: #92400e;
    font-weight: 600;
}

/* HygiÃ¨ne */
.status {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Fiches produits */
.details-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f1f7ed;
    border-radius: 10px;
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 30px;
}

.feature-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.specs-table th {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: left;
}

.specs-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.specs-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* Color options */
.color-options {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.color-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 20px;
    border: 2px solid #e5e7eb;
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
}

/* Certification badges */
.certification-badge {
    display: inline-block;
    background: #1e40af;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 2rem 1rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-secondary);
}

/* Product header */
.product-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.3s;
    border: 2px solid transparent;
}

.thumbnail:hover {
    opacity: 0.8;
    border-color: var(--primary-color);
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.product-category {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 2rem;
    color: var(--warning-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.back-btn {
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    text-align: center;
}

.back-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.pdf-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #dc2626;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-left: 0.5rem;
}

.pdf-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

/* Pages lÃ©gales */
.legal-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 2rem;
    line-height: 1.6;
}

.legal-container h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.last-updated {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 3rem;
    font-size: 0.9rem;
}

.legal-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
}

.legal-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.legal-section h3 {
    color: var(--text-color);
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1.1rem;
}

.legal-section p, .legal-section ul, .legal-section li {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 1.5rem;
}

.legal-section strong {
    color: var(--text-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.info-item {
    background: var(--background-color);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.info-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-info {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    text-align: center;
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info a {
    color: white;
    text-decoration: underline;
}

/* FAQ */
.faq-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.faq-intro {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.faq-categories {
    display: grid;
    gap: 2rem;
}

.faq-category {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-category h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--text-color);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question.active {
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-answer {
    display: none;
    padding: 0 1rem 1rem 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-answer p, .faq-answer ul {
    margin-bottom: 1rem;
}

.faq-answer ul {
    margin-left: 1.5rem;
}

.contact-support {
    background: var(--background-color);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.contact-support h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.support-option {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.support-option strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.support-option a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.support-option a:hover {
    text-decoration: underline;
}

.back-to-home {
    text-align: center;
    margin-top: 1rem;
}

.back-to-home a {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.back-to-home a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 80, 22, 0.2);
}

/* Page de recherche */
.search-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    min-height: calc(100vh - 200px);
}

.search-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.search-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1.1rem;
    background: white;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 124, 44, 0.3);
}

.filter-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.filter-select {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.results-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    min-height: 400px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.results-count {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
}

.sort-options {
    display: flex;
    gap: 0.5rem;
}

.sort-btn {
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.sort-btn:hover, .sort-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.search-results {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Cartes spÃ©cifiques pour la recherche */
.search-results .card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-results .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.search-results .product-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background: var(--background-color);
}

.search-results .card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search-results .tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    align-self: flex-start;
}

.search-results h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.search-results .status {
    font-size: 1.1rem;
    color: var(--warning-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.search-results p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -moz-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
}

.search-results .product-link {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--warning-color);
    border: 2px solid var(--warning-color);
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    font-size: 1.1rem;
    align-self: flex-start;
}

.search-results .product-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.no-results-text {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.no-results-hint {
    font-size: 1rem;
    color: var(--text-secondary);
}

.suggestions {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--background-color);
    border-radius: 12px;
}

.suggestions-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.suggestion-tag {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
}

.suggestion-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Responsive Design pour les fiches produits */
@media (max-width: 1200px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .search-results {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .search-results .card {
        padding: 1.5rem;
    }
    
    .search-results .product-image {
        height: 180px;
    }
    
    .search-results h3 {
        font-size: 1.2rem;
    }
    
    .search-results .product-link {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .search-results {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .search-results .card {
        padding: 1.2rem;
    }
    
    .search-results .product-image {
        height: 200px;
    }
    
    .search-results h3 {
        font-size: 1.3rem;
    }
    
    .search-results .product-link {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .search-input-group {
        flex-direction: column;
    }
    
    .results-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .product-card {
        padding: 2rem;
    }
    
    .product-card img {
        height: 200px;
    }
    
    .product-card h3 {
        font-size: 1.4rem;
    }
    
    .product-card p {
        font-size: 1rem;
    }
    
    .product-card li {
        font-size: 1rem;
    }
    
    .product-link {
        padding: 0.8rem 1.6rem;
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .search-results {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .search-results .card {
        padding: 1rem;
    }
    
    .search-results .product-image {
        height: 180px;
    }
    
    .search-results h3 {
        font-size: 1.2rem;
    }
    
    .search-results .product-link {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .product-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-title {
        font-size: 2rem;
    }

    .product-actions {
        flex-direction: column;
    }

    .thumbnail-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

