/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jul 21 2026 | 11:24:47 */
/* Ajouter votre code CSS ici.
                     
Par exemple:
.exemple {
    color: red;
}

Pour améliorer vos connaissances en CSS, visitez http://www.w3schools.com/css/css_syntax.asp

Fin du commentaire */ 

.primaire{
	color: var( --e-global-color-primary ) !important;
}

.raven-sticky--effects {
  background: var( --e-global-color-secondary ) !important;
}

.wpc-filter-title {
  font-family: "Barlow Semi Condensed", Sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #1A1A2E;
}

.wpc-filters-widget-content select, .wpc-filters-widget-content input[type="text"] {
  background: #fff;
  border-radius: 10px;
}

.pe-etab-count {
    display: flex;
    flex-direction: column;
    align-items: center; /* ou flex-start selon le design */
}
.pe-etab-count__number {
    color: var( --e-global-color-secondary );
  font-family: "Barlow Semi Condensed", Sans-serif;
  font-size: 40px;
  font-weight: 600;
  text-align: center;
}
.pe-etab-count__label {
	margin-top: 10px;
    font-family: "Barlow", Sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

/* ==========================================================================
   Privilège Expérience — Surcharge CSS carte Avantage (thème)
   À ajouter dans le stylesheet du thème ou en CSS additionnel WordPress.
   ========================================================================== */

/* ── Variables locales (héritent du plugin si dispo) ───────────────────── */
:root {
    --pe-primary:        #1a2e4a;
    --pe-success:        #2d8a4e;
    --pe-orange:         #e67e22;
    --pe-gray-200:       #e9ecef;
    --pe-gray-500:       #adb5bd;
    --pe-gray-600:       #6c757d;
    --pe-radius:         12px;
    --pe-shadow:         0 4px 20px rgba(0, 0, 0, .10);
    --pe-transition:     .25s ease;
    --pe-img-radius:     12px 12px 0 0; /* arrondi uniquement en haut */
}

/* ── Carte ──────────────────────────────────────────────────────────────── */
.pe-card--avantage {
    background: #fff;
    border-radius: var(--pe-radius);
    box-shadow: var(--pe-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--pe-transition), transform var(--pe-transition);
}
.pe-card--avantage:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, .15);
    transform: none;
}

/* ── Zone image ─────────────────────────────────────────────────────────── */
.pe-card__image-wrap {
    position: relative;
    display: block;
    padding-top: 62%; /* ratio ~16:10 */
    overflow: hidden;
    border-radius: var(--pe-img-radius);
    text-decoration: none;
    flex-shrink: 0;
}

.pe-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.pe-card--avantage:hover .pe-card__image {
    transform: scale(1.06); /* zoom au survol */
}

/* Image en niveaux de gris quand quota épuisé */
.pe-card--exhausted .pe-card__image {
    filter: grayscale(100%);
}
.pe-card--exhausted:hover .pe-card__image {
    filter: grayscale(100%); /* reste N&B même au survol */
    transform: none;         /* pas de zoom non plus */
}

.pe-card__image--placeholder {
    background: linear-gradient(135deg, #1a2e4a 0%, #2b4a7a 100%);
}

/* ── Badge catégorie (top-left) ─────────────────────────────────────────── */
.pe-card__cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fff;
    color: var(--pe-primary);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
    line-height: 1.4;
    pointer-events: none;
	text-transform: uppercase;
}

/* ── Note / étoiles (top-right) ─────────────────────────────────────────── */
.pe-card__rating {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 1px;
    line-height: 1;
    pointer-events: none;
}

.pe-star {
    font-size: 1rem;
    line-height: 1;
}
.pe-star--full,
.pe-star--half { color: #f5a623; }
.pe-star--empty { color: rgba(255, 255, 255, .6); }

/* Demi-étoile via clip sur le caractère plein */
.pe-star--half {
    position: relative;
    color: rgba(255, 255, 255, .6);
}
.pe-star--half::before {
    content: '★';
    position: absolute;
    left: 0;
    color: #f5a623;
    width: 50%;
    overflow: hidden;
}

/* ── Corps de carte ─────────────────────────────────────────────────────── */
.pe-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

/* Nom de l'établissement */
.pe-card__etab {
    margin: 0;
    font-size: .8rem;
    color: var(--pe-gray-600);
    font-weight: 500;
    letter-spacing: .02em;
}

/* Titre produit */
.pe-card__title {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--pe-primary);
    line-height: 1.3;
}
.pe-card__title a {
    color: inherit;
    text-decoration: none;
}
.pe-card__title a:hover {
    text-decoration: underline;
}

/* ── Bouton CTA ─────────────────────────────────────────────────────────── */
.pe-card__cta {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: .03em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background var(--pe-transition), opacity var(--pe-transition), transform var(--pe-transition);
    margin-top: auto; /* pousse le bouton en bas de la carte */
    line-height: 1.4;
}

/* État 1 : non connecté → navy */
.pe-card__cta--order {
    background: var(--pe-primary);
    color: #fff;
}
.pe-card__cta--order:hover {
    background: #2b4a7a;
    color: #fff;
    transform: translateY(-1px);
}

/* État 2 : connecté sans abonnement → orange */
.pe-card__cta--order-active {
    background: #FDC357;
    color: #fff;
}
.pe-card__cta--order-active:hover {
    background: #cf6d17;
    color: #fff !important;
    transform: translateY(-1px);
}

/* État 3 : quota dispo → vert */
.pe-card__cta--use {
    background: var(--pe-success);
    color: #fff;
}
.pe-card__cta--use:hover {
    background: #1e6b3a;
    color: #fff;
    transform: translateY(-1px);
}

/* État 4 : quota épuisé → gris clair, non cliquable */
.pe-card__cta--exhausted {
    background: var(--pe-gray-200);
    color: var(--pe-gray-500);
    cursor: not-allowed;
    pointer-events: none;
}

