/* =====================================================
 * EAP Menu Carte — styles par défaut
 * ===================================================== */

.eap-menu-carte {
    width: 100%;
    display: block;
}

/* Titre général (H2/H3/…) — hors du conteneur à bordure */
.eap-menu-carte__title {
    margin: 0 0 30px;
    text-align: center;
    font-weight: 400;
}

/* Conteneur de la liste (la boîte avec la bordure) */
.eap-menu-carte__list {
    display: block;
    width: 100%;
}

/* Ligne produit : 2 colonnes — [titre + description + bouton] | [préfixe + prix] */
.eap-menu-carte__item {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    /* La bordure réelle est pilotée par les contrôles Elementor.
       Valeur de base transparente pour éviter tout flash de style. */
    border-bottom: 0 solid transparent;
}

.eap-menu-carte__item:last-child {
    border-bottom: 0 !important;
}

/* Colonne 1 : titre + description + bouton */
.eap-menu-carte__content {
    flex: 1 1 auto;
    min-width: 0; /* autorise le wrap sur texte long */
}

.eap-menu-carte__item-title {
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 8px;
}

.eap-menu-carte__item-desc {
    color: #888;
    font-size: 0.9em;
    line-height: 1.5;
    margin: 0;
}

/* Wrapper du bouton : sert pour l'alignement (left/center/right) */
.eap-menu-carte__item-button-wrap {
    margin-top: 15px;
    text-align: left;
}

/* Bouton sous la description */
.eap-menu-carte__item-button {
    display: inline-block;
    padding: 10px 22px;
    background-color: #222;
    color: #fff;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 4px;
    line-height: 1.3;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.eap-menu-carte__item-button:hover,
.eap-menu-carte__item-button:focus {
    background-color: #444;
    color: #fff;
    text-decoration: none;
}

/* Colonne 2 : préfixe + prix */
.eap-menu-carte__price-wrap {
    flex: 0 0 auto;
    text-align: right;
    line-height: 1.3;
}

.eap-menu-carte__price-prefix {
    font-size: 0.85em;
    margin: 0 0 2px;
    line-height: 1.3;
}

.eap-menu-carte__item-price {
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.3;
    margin: 0;
}

/* Responsive : sur très petit écran on garde 2 colonnes compactes */
@media (max-width: 480px) {
    .eap-menu-carte__item {
        gap: 12px;
    }
}

