.clep-recherche-form div {
    margin-bottom: 12px;
}


/* Neutralise les contraintes du thème autour du shortcode */
.clep-reset {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

/* Sortie pleine largeur centrée */
.clep-fullwidth {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    max-width: 100vw;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Grille */
.clep-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Carte */
.clep-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: transform 0.15s ease;
}

.clep-card:hover {
    transform: translateY(-4px);
}

/* Conteneur image : limité à la carte */
.clep-card-image {
    height: 160px;
    overflow: hidden;
    background: #f5f5f5;
}

/* Image miniature : ne déborde jamais */
.clep-card-image img,
.clep-thumb {
    max-width: 100%;
    height: 100%;
    object-fit: cover !important; /* contain = parfait pour petites images */
    display: block;
}

/* Texte */
.clep-card-body {
    padding: 12px;
}

.clep-card-title {
    font-weight: bold;
    margin-bottom: 6px;
    font-size: 16px;
}

.clep-card-price {
    color: #0073aa;
    font-size: 15px;
    margin-bottom: 10px;
}

.clep-card-link {
    display: inline-block;
    padding: 6px 10px;
    background: #0073aa;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}

.clep-card-link:hover {
    background: #005f8d;
}

.clep-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

