/**
 * Styles de base pour les cartes produits
 * Vous personnaliserez les couleurs et typographies selon votre charte
 */

/* Conteneur principal */
.chr-recommendations-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.chr-explanation {
    text-align: center;
    margin-bottom: 40px;
}

.chr-explanation p {
    font-size: 18px;
    line-height: 1.6;
}

/* Grille de produits */
.chr-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: start;
}

/* Carte produit */
.chr-product-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chr-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Carte featured */
.chr-product-card--featured {
    border-width: 3px;
    /* Vous ajouterez border-color: #D95D39; */
}

/* Badge recommandation */
.chr-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    /* Vous ajouterez background: #D95D39; color: #fff; */
}

/* Image produit */
.chr-product-image {
    margin-bottom: 20px;
    text-align: center;
}

.chr-product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Contenu */
.chr-product-content {
    text-align: center;
}

.chr-product-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
    /* Vous ajouterez color: #397B81; */
}

.chr-product-title {
    font-size: 24px;
    margin-bottom: 15px;
    /* Vous ajouterez font-family: Cabin; color: #2E3D44; */
}

.chr-product-price {
    margin-bottom: 20px;
}

.chr-price-amount {
    font-size: 32px;
    font-weight: 700;
    /* Vous ajouterez color: #2E3D44; */
}

.chr-price-period {
    font-size: 16px;
    color: #666;
}

/* Liste de caractéristiques */
.chr-product-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.chr-product-features li {
    padding: 8px 0 8px 25px;
    position: relative;
    line-height: 1.5;
}

.chr-product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: bold;
    /* Vous ajouterez color: #397B81; */
}

/* Description */
.chr-product-description {
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Bouton CTA */
.chr-product-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
    /* Vous ajouterez background: #397B81; color: #fff; */
}

.chr-product-button:hover {
    /* Vous ajouterez background: #2E3D44; */
    transform: scale(1.05);
}

.chr-product-card--featured .chr-product-button {
    /* Vous ajouterez background: #D95D39; pour le produit featured */
}

/* Message d'erreur */
.chr-error-message {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.chr-error-message h3 {
    font-size: 28px;
    margin-bottom: 20px;
    /* Vous ajouterez color: #2E3D44; */
}

.chr-error-message p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #666;
}

.chr-contact-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    /* Vous ajouterez background: #397B81; color: #fff; */
}

.chr-contact-button:hover {
    /* Vous ajouterez background: #2E3D44; */
}

/* Responsive */
@media (max-width: 768px) {
    .chr-products-grid {
        grid-template-columns: 1fr;
    }
    
    .chr-product-card {
        padding: 20px;
    }
}
