/*
==================================================
CSS Simple pour les catégories - Template EDO
==================================================
*/

/* Catégories sidebar */
.modern-categories {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.category-header {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.category-title {
    font-size: 16px;
    font-weight: 600;
    color: #343a40;
    margin: 0;
}

.modern-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    border-bottom: 1px solid #f1f1f1;
}

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

.category-link {
    display: block;
    padding: 15px 20px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.category-link:hover {
    background: #f8f9fa;
    color: #007bff;
    text-decoration: none;
    padding-left: 25px;
}

.category-text {
    display: block;
}

.category-arrow {
    float: right;
    color: #6c757d;
}

/*
==================================================
Sections Statistiques et Informations
==================================================
*/

/* Section Statistiques */
.site-stats {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.stats-header {
    text-align: center;
    margin-bottom: 25px;
}

.stats-title {
    color: #343a40;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.stats-title i {
    color: #007bff;
    margin-right: 8px;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.stat-icon {
    font-size: 24px;
    color: #007bff;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Section Marchands Populaires */
.popular-merchants {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.merchants-header {
    text-align: center;
    margin-bottom: 20px;
}

.merchants-title {
    color: #343a40;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.merchants-title i {
    color: #ff6b35;
    margin-right: 8px;
}

.merchants-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.merchant-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.merchant-item:hover {
    border-color: #007bff;
    transform: translateY(-1px);
}

.merchant-name {
    font-weight: 600;
    color: #343a40;
    margin-bottom: 5px;
    font-size: 14px;
}

.merchant-count {
    font-size: 12px;
    color: #6c757d;
}

/* Section Dernières Offres */
.latest-offers {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.offers-header {
    text-align: center;
    margin-bottom: 20px;
}

.offers-title {
    color: #343a40;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.offers-title i {
    color: #28a745;
    margin-right: 8px;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.offer-item {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.offer-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.offer-image {
    height: 180px;
    overflow: hidden;
    background: #ffffff;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.offer-content {
    padding: 15px;
}

.offer-name {
    font-weight: 600;
    color: #343a40;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.3;
}

.offer-price {
    font-size: 16px;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 5px;
}

.offer-merchant {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 10px;
}

.offer-link {
    display: inline-block;
    background: #007bff;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.offer-link:hover {
    background: #0056b3;
    color: #ffffff;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-header {
        padding: 12px 15px;
    }
    
    .category-link {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .stats-grid {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item {
        min-width: auto;
    }
    
    .merchants-list {
        grid-template-columns: 1fr;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .site-stats,
    .popular-merchants,
    .latest-offers {
        padding: 15px;
    }
} 