/* ==========================================================================
   Bloc modèles véhicules — styles frontend
   Toutes les règles scopées sous .gb-mv-* pour éviter tout conflit.
   ========================================================================== */

/* ── Wrapper principal ── */

.gb-mv-block {
    width: 100% !important;
    margin-top: 2.4rem !important;
    margin-bottom: 2.4rem !important;
}

/* ── Grille : 2 colonnes sur desktop ── */

.gb-mv-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.6rem !important;
}

/* ── Vignette carte ── */

.gb-mv-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1.6rem !important;
    background-color: #FFFFFF !important;
    border: 1px solid #EBEBF0 !important;
    border-radius: 12px !important;
    padding: 1.6rem 2rem !important;
    transition: box-shadow 0.18s ease !important;
}

.gb-mv-card:hover {
    box-shadow: 0 4px 16px rgba(111, 67, 214, 0.10) !important;
}

/* ── Image du véhicule ── */

.gb-mv-card-image {
    flex-shrink: 0 !important;
    width: 80px !important;
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.gb-mv-card-image img {
    width: 80px !important;
    height: 56px !important;
    object-fit: contain !important;
    display: block !important;
}

/* ── Image par défaut (SVG icône auto) : légèrement plus petite ── */

.gb-mv-card-image--default img {
    width: 56px !important;
    height: 40px !important;
    opacity: 0.75 !important;
}

/* ── Corps texte ── */

.gb-mv-card-body {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.4rem !important;
    flex: 1 !important;
    min-width: 0 !important;
}

/* ── Nom du modèle (violet, gras) ── */

.gb-mv-card-name {
    font-family: "Satoshi Bold", sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #6F43D6 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* ── Catégorie ── */

.gb-mv-card-category {
    font-size: 1.3rem !important;
    color: #2E374D !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* ── Tarif ── */

.gb-mv-card-price {
    font-size: 1.3rem !important;
    color: #2E374D !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    margin-top: 0.4rem !important;
}

.gb-mv-card-price-value {
    font-family: "Satoshi Bold", sans-serif !important;
    font-weight: 700 !important;
    color: #6F43D6 !important;
}

/* ── Responsive tablette ── */

@media screen and (max-width: 1024px) {
    .gb-mv-grid {
        gap: 1.2rem !important;
    }

    .gb-mv-card {
        padding: 1.4rem 1.6rem !important;
        gap: 1.4rem !important;
    }
}

/* ── Responsive mobile : 1 colonne ── */

@media screen and (max-width: 675px) {
    .gb-mv-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .gb-mv-card {
        padding: 1.4rem 1.6rem !important;
        gap: 1.4rem !important;
    }

    .gb-mv-card-image {
        width: 64px !important;
        height: 44px !important;
    }

    .gb-mv-card-image img {
        width: 64px !important;
        height: 44px !important;
    }

    .gb-mv-card-name {
        font-size: 1.4rem !important;
        white-space: normal !important;
    }

    .gb-mv-card-category,
    .gb-mv-card-price {
        font-size: 1.25rem !important;
    }
}
