/* --- Global Container --- */
.paef-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

/* --- Grille Compacte --- */
.paef-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); /* Cartes plus petites */
    gap: 15px;
    padding: 10px 0;
}

/* --- Cartes Boutiques (Design Pro) --- */
.paef-card {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 15px;
    position: relative;
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.paef-card:hover {
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
    border-color: #0073aa;
}

.paef-logo-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.paef-logo-container img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.paef-card h3 {
    font-size: 16px;
    margin: 10px 0;
    color: #2c3e50;
    text-align: center;
}

.paef-description {
    font-size: 13px;
    color: #7f8c8d;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 15px;
}

/* --- Badge & Promo --- */
.paef-badge-reco {
    position: absolute;
    top: -10px;
    right: 10px;
    background: #f1c40f;
    color: #000;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.paef-promo-mini {
    background: #f8faff;
    border: 1px dashed #3498db;
    padding: 8px;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 12px;
}

.paef-promo-mini small { font-size: 10px; color: #3498db; display: block; }
.paef-promo-mini span { font-weight: bold; font-size: 14px; color: #2c3e50; }

/* --- Bouton --- */
.paef-btn-pro {
    background: #0073aa;
    color: white !important;
    text-align: center;
    text-decoration: none !important;
    padding: 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.3s;
}

.paef-btn-pro:hover { background: #005a87; }

/* --- Législation (Accordéon Style) --- */
.paef-loi-item {
    background: #fff;
    border-radius: 6px;
    margin-bottom: 10px;
    border: 1px solid #eee;
    overflow: hidden;
}

.paef-loi-header {
    background: #f9f9f9;
    padding: 10px 15px;
    font-weight: bold;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.paef-loi-content { padding: 15px; font-size: 13px; }
.paef-loi-officiel { color: #7f8c8d; font-style: italic; margin-bottom: 10px; padding-left: 10px; border-left: 2px solid #ccc; }
/* --- YouTube Spécifique --- */
.yt-circle img {
    border-radius: 50%; /* Logo YouTube arrondi */
    border: 2px solid #ff0000;
    padding: 2px;
}

.yt-subs {
    text-align: center;
    font-size: 12px;
    color: #606060;
    margin-top: -5px;
    margin-bottom: 15px;
}

.yt-btn {
    background: #ff0000 !important; /* Rouge YouTube */
}

.yt-btn:hover {
    background: #cc0000 !important;
}

.paef-badge-parle {
    margin-top: 10px;
    font-size: 11px;
    background: #fdf2f2;
    color: #d32f2f;
    padding: 5px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #ffcdd2;
}

.paef-yt-card {
    border-bottom: 3px solid #ff0000;
}
.yt-card-auto {
    border-top: 4px solid #ff0000;
}
.yt-header {
    text-align: center;
    margin-bottom: 10px;
}
.yt-logo-round {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 5px;
}
.yt-subs {
    text-align: center;
    font-size: 14px;
    color: #cc0000;
}
.yt-last-video {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
}
.yt-last-video p {
    margin: 0 0 5px 0;
    font-size: 11px;
    color: #666;
}
/* --- DESIGN BOUTIQUES EXCLUSIF --- */
.shop-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-top: 15px;
}

.shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: #3182ce;
}

.shop-logo-container {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.shop-logo-container img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.shop-content {
    padding: 15px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.shop-content h3 {
    font-size: 18px;
    margin: 0 0 15px 0;
    color: #2d3748;
}

/* Badge Recommandé */
.shop-badge-reco {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ebf8ff;
    color: #2b6cb0;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

/* Code Promo Style */
.shop-promo-box {
    background: #f7fafc;
    border: 2px dashed #cbd5e0;
    padding: 8px;
    margin-bottom: 15px;
    border-radius: 6px;
}

.shop-promo-box small {
    display: block;
    font-size: 9px;
    color: #718096;
    letter-spacing: 1px;
}

.shop-promo-box span {
    color: #e53e3e;
    font-weight: 800;
    font-size: 16px;
}

/* Bouton spécifique boutique */
.shop-btn {
    background: #2d3748;
    color: #fff !important;
    text-decoration: none !important;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: auto;
    transition: background 0.2s;
}

.shop-btn:hover {
    background: #4a5568;
}