/* ── DDM Sélecteur véhicule ─────────────────────────────────────────────── */

.ddm-hidden {
    display: none !important;
}

/* Masqué tant que le JS n'a pas déplacé l'élément hors du header */
.ddm-selector-wrapper--init {
    display: none !important;
}

/* ── Wrapper bandeau ─────────────────────────────────────────────────────── */

.ddm-selector-wrapper {
    width: 100%;
    background: #083A60;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
}

/* ── Formulaire inline (desktop) ─────────────────────────────────────────── */

.ddm-selector-form {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 10px 0;
    max-width: 1300px;
    width: 100%;
    justify-content: center;
}

.ddm-sheet-title {
    display: none;
    margin: 0;
    font-family: 'Squada One', cursive;
    font-size: 22px;
    color: #fff;
    letter-spacing: 0.02em;
}

/* ── Intro titre bandeau ─────────────────────────────────────────────────── */

.ddm-selector-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    padding-right: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    margin-right: 6px;
    flex-shrink: 0;
}

.ddm-selector-intro__title {
    font-family: 'Squada One', cursive;
    font-size: 16px;
    color: #fff;
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.ddm-selector-intro__sub {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ddm-select {
    height: 36px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 5px;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    flex: 1;
    min-width: 100px;
    max-width: 155px;
    transition: border-color 0.15s, background 0.15s;
}

.ddm-select option {
    background: #0b3d66;
    color: #fff;
}

.ddm-select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.ddm-select:disabled {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.08);
}

/* ── Boutons ─────────────────────────────────────────────────────────────── */

.ddm-btn {
    height: 36px;
    padding: 0 16px;
    border-radius: 5px;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.15s, opacity 0.15s, color 0.15s;
    flex-shrink: 0;
}

.ddm-btn-validate {
    background: #B53331;
    color: #fff;
}

.ddm-btn-validate:hover:not(:disabled) {
    background: #8e2826;
    color: #fff;
}

.ddm-btn-validate:disabled {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.35);
    cursor: not-allowed;
}

/* ── Bandeau véhicule actif ──────────────────────────────────────────────── */

.ddm-active-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 1300px;
    width: 100%;
    padding: 10px 0;
    flex-wrap: nowrap;
}

.ddm-active-label {
    font-size: 18px;
    font-family: 'Squada One', cursive;
    font-weight: 400;
    color: #fff;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.02em;
}

.ddm-icon-moto {
    font-style: normal;
    font-size: 22px;
    margin-right: 8px;
    vertical-align: middle;
}

.ddm-active-prefix {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-right: 8px;
    vertical-align: middle;
}

.ddm-btn-see {
    background: #B53331;
    color: #fff;
}

.ddm-btn-see:hover {
    background: #8e2826;
    color: #fff;
}

.ddm-btn-x {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    line-height: 1;
}

.ddm-btn-x:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.ddm-btn-garage {
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.ddm-btn-garage:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.ddm-btn-garage--saved {
    color: #7de07d;
    border-color: #5cb85c;
}

/* ── Bouton garage rapide (desktop, absolu dans la barre) ───────────────── */

.ddm-garage-quick-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 20px;
    color: #fff;
    font-size: 17px;
    padding: 5px 11px 5px 9px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    line-height: 1;
}

.ddm-garage-quick-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.ddm-garage-quick-btn__badge {
    background: #B53331;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    font-family: sans-serif;
    border-radius: 10px;
    min-width: 17px;
    height: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
}

@media (max-width: 767px) {
    .ddm-garage-quick-btn { display: none; }
}

/* ── Chips garage (accès rapide dans le formulaire) ─────────────────────── */

.ddm-garage-chips {
    display: none; /* visible uniquement en modal/sheet */
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 0 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    width: 100%;
}

.ddm-selector-form.ddm-modal-open .ddm-garage-chips,
.ddm-selector-form.ddm-sheet-open .ddm-garage-chips {
    display: flex;
}

/* ── Chips véhicules récents (localStorage, visiteurs non connectés) ─────── */

.ddm-recent-chips {
    display: none;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 0 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    width: 100%;
}

.ddm-selector-form.ddm-modal-open .ddm-recent-chips,
.ddm-selector-form.ddm-sheet-open .ddm-recent-chips {
    display: flex;
}

.ddm-recent-chips__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.ddm-recent-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 400;
    padding: 4px 12px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ddm-recent-chip:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.ddm-recent-chip:disabled {
    opacity: 0.5;
    cursor: wait;
}

.ddm-garage-chips__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.ddm-garage-chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ddm-garage-chip:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.ddm-garage-chip:disabled {
    opacity: 0.5;
    cursor: wait;
}

.ddm-garage-chips__link {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    margin-left: 4px;
    white-space: nowrap;
    transition: color 0.15s;
}

.ddm-garage-chips__link:hover {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: underline;
}

@keyframes ddm-chips-flash {
    0%   { background: rgba(255, 255, 255, 0.04); }
    40%  { background: rgba(255, 255, 255, 0.18); }
    100% { background: rgba(255, 255, 255, 0.04); }
}

.ddm-garage-chips--highlight {
    animation: ddm-chips-flash 0.7s ease;
    border-radius: 6px;
    padding: 8px 6px 4px;
}

/* ── Trigger mobile ──────────────────────────────────────────────────────── */

.ddm-mobile-trigger {
    display: none;
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 12px 0;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-align: left;
}

.ddm-mobile-trigger__icon {
    font-size: 20px;
    flex-shrink: 0;
}

.ddm-mobile-trigger__label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ddm-mobile-trigger__caret {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

/* ── Backdrop mobile ─────────────────────────────────────────────────────── */

.ddm-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1040;
    backdrop-filter: blur(2px);
}

/* ── Bouton fermer (bottom sheet) ────────────────────────────────────────── */

.ddm-sheet-close {
    display: none;
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
    transition: background 0.15s;
}

.ddm-sheet-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ── Bandeau filtre véhicule actif (pages catalogue) ────────────────────── */

.ddm-filter-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 10px 16px;
    margin-bottom: 16px;
    background: #f0f5fa;
    border: 1px solid #ccddef;
    border-radius: 6px;
    font-size: 14px;
    color: #083A60;
}

.ddm-filter-bar__text strong {
    font-weight: 700;
}

.ddm-filter-bar__link {
    color: #083A60;
    font-weight: 600;
    text-decoration: underline;
    white-space: nowrap;
}

.ddm-filter-bar__link:hover {
    opacity: 0.75;
}

.ddm-filter-bar__clear {
    margin-left: auto;
    background: none;
    border: 1px solid #aac0d4;
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 12px;
    color: #555;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.ddm-filter-bar__clear:hover {
    background: #B53331;
    border-color: #B53331;
    color: #fff;
}

/* ── Compteur sous-catégories ────────────────────────────────────────────── */

.ddm-subcat-count {
    display: block;
    font-size: .75rem;
    color: #B53331;
    font-weight: 600;
    margin-top: 3px;
}

.ddm-subcat-count--none {
    color: #999;
    font-weight: 400;
    font-style: italic;
}

.ddm-subcat--none {
    opacity: .45;
    filter: grayscale(60%);
}

/* ── Sélecteur modèle avec recherche ─────────────────────────────────────── */

.ddm-ms {
    position: relative;
    flex: 1;
    min-width: 130px;
    max-width: 180px;
}

.ddm-ms__trigger {
    width: 100%;
    height: 36px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.15s, background 0.15s;
}

.ddm-ms__trigger:hover:not(:disabled) {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.ddm-ms__trigger:disabled {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.08);
}

.ddm-ms__label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.ddm-ms__caret {
    font-size: 10px;
    opacity: 0.5;
    flex-shrink: 0;
}

.ddm-ms__panel {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    min-width: 240px;
    background: #0b3d66;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    z-index: 2100;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.ddm-ms__input {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.ddm-ms__input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.ddm-ms__input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
}

.ddm-ms__list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    max-height: 230px;
    overflow-y: auto;
}

.ddm-ms__list::-webkit-scrollbar { width: 4px; }
.ddm-ms__list::-webkit-scrollbar-track { background: transparent; }
.ddm-ms__list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); border-radius: 2px; }

.ddm-ms__item {
    padding: 8px 14px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background 0.1s;
}

.ddm-ms__item:hover,
.ddm-ms__item--active {
    background: rgba(233, 78, 27, 0.25);
    color: #fff;
}

/* ── Bandeau filtre catégorie ────────────────────────────────────────────── */

.ddm-filter-banner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px 14px;
    margin-bottom: 12px;
    background: #fff8e7;
    border: 1px solid #f0c040;
    border-radius: 4px;
    font-size: 13px;
}

.ddm-filter-banner__label {
    flex: 1;
    color: #333;
}

.ddm-filter-banner__link {
    color: #B53331;
    text-decoration: underline;
    white-space: nowrap;
}

.ddm-filter-banner__clear {
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px 10px;
    font-size: 12px;
    color: #777;
    cursor: pointer;
    white-space: nowrap;
}

.ddm-filter-banner__clear:hover {
    background: #f5f5f5;
}

/* ── Page garage ─────────────────────────────────────────────────────────── */

.ddm-garage-page {
    padding-top: 20px;
    padding-bottom: 40px;
}

.ddm-garage-page__title {
    margin-bottom: 20px;
}

.ddm-garage-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 640px;
}

.ddm-garage-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

.ddm-garage-item--active {
    border-color: #B53331;
    background: #fff8f5;
}

.ddm-garage-item__label {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ddm-garage-item__active-badge {
    background: #B53331;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
}

.ddm-garage-item__type {
    color: #888;
    font-size: 12px;
}

.ddm-garage-item__name-link {
    color: inherit;
    text-decoration: none;
}

.ddm-garage-item__name-link:hover {
    color: #083A60;
    text-decoration: underline;
}

.ddm-garage-item__count {
    font-size: 12px;
    color: #B53331;
    font-weight: 500;
    white-space: nowrap;
}

.ddm-garage-item__actions {
    display: flex;
    gap: 8px;
}

.ddm-garage-btn {
    height: 30px;
    padding: 0 12px;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
    border: 1px solid #ccc;
    background: #fff;
    white-space: nowrap;
}

.ddm-garage-btn--select {
    background: #B53331;
    color: #fff;
    border-color: #B53331;
}

.ddm-garage-btn--select:hover {
    background: #8e2826;
    border-color: #8e2826;
}

.ddm-garage-btn--clear {
    color: #555;
}

.ddm-garage-btn--clear:hover {
    background: #f5f5f5;
}

.ddm-garage-btn--remove {
    color: #c0392b;
    border-color: #e0b0ab;
}

.ddm-garage-btn--remove:hover {
    background: #fff5f5;
}

.ddm-garage-empty {
    max-width: 480px;
    padding: 30px;
    border: 1px dashed #ccc;
    border-radius: 4px;
    text-align: center;
    color: #666;
}

.ddm-garage-empty p {
    margin-bottom: 10px;
}

/* ── Badge compatibilité fiche produit ──────────────────────────────────── */

.ddm-compat-badge {
    margin: 10px 0;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.5;
}

.ddm-compat-badge--ok {
    background: #f0faf2;
    border: 1px solid #5cb85c;
    color: #2d6a2d;
}

.ddm-compat-badge--ko {
    background: #fff5f5;
    border: 1px solid #d9534f;
    color: #a02020;
}

.ddm-compat-badge--ko a {
    color: #a02020;
    font-weight: 600;
}

.ddm-compat-badge--list {
    background: #fff8e7;
    border: 1px solid #f0c040;
    color: #333;
}

.ddm-compat-badge__icon {
    margin-right: 6px;
}

.ddm-compat-badge__header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ddm-compat-toggle {
    background: transparent;
    border: 1px solid #c9a830;
    border-radius: 3px;
    padding: 2px 8px;
    font-size: 12px;
    color: #7a6010;
    cursor: pointer;
    white-space: nowrap;
}

.ddm-compat-toggle:hover {
    background: #fef3c7;
}

.ddm-compat-badge__body {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0c040;
}

.ddm-compat-make {
    margin-bottom: 6px;
}

.ddm-compat-model {
    padding-left: 14px;
    color: #555;
    font-size: 12px;
}

.ddm-compat-badge__footer {
    margin-top: 10px;
}

.ddm-compat-select-link {
    color: #B53331;
    font-weight: 600;
    font-size: 13px;
    text-decoration: underline;
}

/* ── Badge header véhicule (dans la nav) ─────────────────────────────────── */

.ddm-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 6px 13px 6px 9px;
    margin: 6px 8px 6px 0;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
    max-width: 220px;
    overflow: hidden;
    transition: background 0.2s, border-color 0.2s;
    vertical-align: middle;
}

.ddm-header-badge:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
}

.ddm-header-badge--active {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.35);
}

.ddm-header-badge__icon {
    font-size: 15px;
    flex-shrink: 0;
    line-height: 1;
}

.ddm-header-badge__text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

.ddm-header-badge__sub {
    font-size: 9px;
    font-weight: 400;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    line-height: 1.2;
}

.ddm-header-badge__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ddm-header-badge__caret {
    font-size: 10px;
    opacity: 0.7;
    flex-shrink: 0;
    margin-left: 2px;
}

/* ── Icône véhicule mobile (barre nav bleue, alignée avec user/cart) ─────── */

.ddm-mobile-vehicle-icon {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s;
    line-height: 1;
    padding: 0;
}

.ddm-mobile-vehicle-icon:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
}

.ddm-mobile-vehicle-icon--active {
    border-color: #5cb85c;
    background: rgba(92, 184, 92, 0.15);
}

.ddm-mobile-vehicle-icon__dot {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #5cb85c;
    border: 2px solid #083A60;
    pointer-events: none;
}

/* ── Pastille véhicule (barre menu, float:right) ─────────────────────────── */

.ddm-pastille-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
}

.ddm-pastille {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    padding: 8px 6px;
    background: #083A60;
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 2px 8px rgba(8, 58, 96, 0.25);
    transition: background 0.15s, box-shadow 0.15s;
    white-space: normal;
    text-align: center;
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
}

.ddm-pastille:hover {
    background: #0b4a7a;
    box-shadow: 0 4px 12px rgba(8, 58, 96, 0.4);
}

.ddm-pastille--active {
    background: #083A60;
}

.ddm-pastille__icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}

.ddm-pastille__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
    min-width: 0;
}

.ddm-pastille__sub {
    font-size: 8px;
    font-weight: 400;
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-align: center;
}

.ddm-pastille__label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.25;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    max-width: 64px;
    text-align: center;
}

.ddm-pastille__dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #5cb85c;
    border: 2px solid #fff;
}


/* ── Modal (ouvert depuis le badge header) ───────────────────────────────── */

.ddm-selector-form.ddm-modal-open,
.ddm-active-bar.ddm-modal-open {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1050;
    background: #083A60;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
    max-width: 580px;
    width: 90%;
    padding: 48px 28px 28px !important;
}

.ddm-selector-form.ddm-modal-open {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.ddm-selector-form.ddm-modal-open .ddm-ms {
    max-width: 100%;
}

.ddm-selector-form.ddm-modal-open .ddm-select {
    max-width: 100%;
    height: 44px;
    font-size: 14px;
}

.ddm-selector-form.ddm-modal-open .ddm-btn-validate {
    width: 100%;
    justify-content: center;
    height: 48px;
    font-size: 14px;
    margin-top: 4px;
}

.ddm-selector-form.ddm-modal-open .ddm-ms__trigger {
    height: 44px;
    font-size: 14px;
}

.ddm-active-bar.ddm-modal-open {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.ddm-active-bar.ddm-modal-open .ddm-btn {
    width: 100%;
    justify-content: center;
    height: 44px;
}

.ddm-selector-form.ddm-modal-open .ddm-sheet-close,
.ddm-active-bar.ddm-modal-open .ddm-sheet-close {
    display: inline-flex;
}

/* ── Modal confirmation sélection véhicule ───────────────────────────────── */

.ddm-confirm-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1051;
    background: #083A60;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    padding: 48px 32px 32px;
    width: 90%;
    max-width: 420px;
    box-sizing: border-box;
    text-align: center;
    color: #fff;
}

.ddm-confirm-modal .ddm-sheet-close {
    display: inline-flex;
    position: absolute;
    top: 14px;
    right: 16px;
}

.ddm-confirm-modal__check {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(92, 184, 92, 0.2);
    border: 2px solid #5cb85c;
    color: #5cb85c;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    line-height: 1;
}

.ddm-confirm-modal__title {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ddm-confirm-modal__vehicle {
    font-family: 'Squada One', cursive;
    font-size: 24px;
    color: #fff;
    margin: 0 0 28px;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.ddm-confirm-modal__btn-primary {
    display: flex;
    width: 100%;
    justify-content: center;
    height: 48px;
    font-size: 14px;
    margin-bottom: 12px;
    border-radius: 8px;
    box-sizing: border-box;
}

.ddm-confirm-modal__btn-secondary {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.45);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    cursor: pointer;
    padding: 6px 0;
    text-decoration: underline;
    transition: color 0.15s;
    width: 100%;
}

.ddm-confirm-modal__btn-secondary:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ── Page index marques (/tous-les-modeles/) ─────────────────────────────── */

.ddm-modeles-intro {
    color: #666;
    margin-bottom: 32px;
    font-size: 14px;
}

.ddm-modeles-makes {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.ddm-modeles-make-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 22px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    text-decoration: none;
    min-width: 160px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.ddm-modeles-make-card:hover {
    border-color: rgba(8, 58, 96, 0.35);
    box-shadow: 0 4px 14px rgba(8, 58, 96, 0.1);
}

.ddm-modeles-make-card__name {
    font-size: 18px;
    font-weight: 700;
    color: #083A60;
}

.ddm-modeles-make-card__types {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.ddm-modeles-make-card__type {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #083A60;
    background: rgba(8, 58, 96, 0.08);
    border-radius: 3px;
    padding: 2px 6px;
}

.ddm-modeles-make-card__meta {
    font-size: 12px;
    color: #999;
}

/* ── Suggestions recherche rapide hero ───────────────────────────────────── */

.ddm-hsuggest {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.09);
    overflow: hidden;
    margin-top: 6px;
    background: #fff;
}

.ddm-hsuggest__list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
}

.ddm-hsuggest__item {
    border-bottom: 1px solid #f0f0f0;
}
.ddm-hsuggest__item:last-child {
    border-bottom: none;
}

.ddm-hsuggest__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    text-decoration: none;
    transition: background 0.12s;
}
.ddm-hsuggest__link:hover {
    background: #f7f9fc;
}

.ddm-hsuggest__img {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: #f5f5f5;
    border-radius: 4px;
    border: 1px solid #eee;
}

.ddm-hsuggest__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ddm-hsuggest__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.80rem;
    font-weight: 600;
    color: #083A60;
    line-height: 1.35;
}

.ddm-hsuggest__meta {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.ddm-hsuggest__price {
    font-size: 0.82rem;
    font-weight: 700;
    color: #B43432;
}

.ddm-hsuggest__ref {
    font-size: 0.70rem;
    color: #aaa;
}

.ddm-hsuggest__all {
    display: block;
    width: 100%;
    padding: 9px 14px;
    background: #f0f5fa;
    border: none;
    border-top: 1px solid #e0e8f0;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #083A60;
    text-align: center;
    cursor: pointer;
    transition: background 0.12s;
}
.ddm-hsuggest__all:hover {
    background: #e0ebf5;
}

@media (min-width: 992px) {
    .ddm-hsuggest__list {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .ddm-hsuggest__item:nth-child(even) {
        border-left: 1px solid #f0f0f0;
    }
    .ddm-hsuggest__item:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

@media (max-width: 991px) {
    .ddm-hsuggest__item:nth-child(n+5) {
        display: none;
    }
}

/* ── Page famille (/pieces-vehicule/moto/honda/famille-cb/) ──────────────── */

.ddm-famille-h1 {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ddm-famille-type-badge {
    font-size: 13px;
    font-weight: 400;
    background: #083A60;
    color: #fff;
    padding: 3px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ddm-famille-intro {
    color: #666;
    font-size: 14px;
    margin-bottom: 24px;
}

.ddm-famille-back {
    margin-bottom: 20px;
}

.ddm-famille-back a {
    color: #083A60;
    font-size: 13px;
    text-decoration: none;
}

.ddm-famille-back a:hover {
    text-decoration: underline;
}

.ddm-famille-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 8px;
}

.ddm-famille-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid #eee;
    border-radius: 5px;
    background: #fff;
    transition: border-color 0.12s;
}

.ddm-famille-item:hover {
    border-color: rgba(8, 58, 96, 0.35);
}

.ddm-famille-link {
    color: #083A60;
    text-decoration: none;
    font-size: 14px;
    flex: 1;
}

.ddm-famille-link:hover {
    color: #083A60;
    text-decoration: underline;
    opacity: 0.75;
}

.ddm-famille-count {
    color: #bbb;
    font-size: 11px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Section compatibilité page fabricant ────────────────────────────────── */

.ddm-manuf-compat {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid #ddd;
}

.ddm-manuf-compat__title {
    font-size: 22px;
    color: #083A60;
    margin-bottom: 6px;
}

.ddm-manuf-compat__intro {
    color: #666;
    font-size: 13px;
    margin-bottom: 24px;
}

.ddm-manuf-section {
    margin-bottom: 28px;
}

.ddm-manuf-section__type {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ddm-manuf-families {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ddm-manuf-family-item {
    flex-shrink: 0;
}

.ddm-manuf-family-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    text-decoration: none;
    min-width: 90px;
    text-align: center;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.ddm-manuf-family-link:hover {
    border-color: rgba(8, 58, 96, 0.35);
    box-shadow: 0 4px 14px rgba(8, 58, 96, 0.1);
}

.ddm-manuf-family-link__name {
    font-size: 18px;
    font-weight: 700;
    color: #083A60;
    line-height: 1.2;
}

.ddm-manuf-family-link__count {
    font-size: 11px;
    color: #999;
    margin-top: 3px;
}

.ddm-manuf-direct {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 6px;
}

.ddm-manuf-direct-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 13px;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}

.ddm-manuf-direct-link {
    color: #083A60;
    text-decoration: none;
    flex: 1;
}

.ddm-manuf-direct-link:hover {
    color: #083A60;
    text-decoration: underline;
    opacity: 0.75;
}

.ddm-manuf-direct-count {
    color: #bbb;
    font-size: 11px;
    white-space: nowrap;
    flex-shrink: 0;
}


/* ── Bloc modèles dépliable (page fabricant, véhicule actif) ─────────────── */

.ddm-models-collapsible {
    margin-top: 40px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.ddm-models-collapsible__toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: #f7f7f7;
    font-size: 15px;
    font-weight: 600;
    color: #083A60;
    cursor: pointer;
    list-style: none;
    border-bottom: 1px solid transparent;
    transition: background 0.15s;
}

.ddm-models-collapsible__toggle::-webkit-details-marker { display: none; }

.ddm-models-collapsible__toggle::after {
    content: '▼';
    font-size: 11px;
    margin-left: auto;
    opacity: 0.5;
    transition: transform 0.2s;
}

.ddm-models-collapsible[open] .ddm-models-collapsible__toggle {
    border-bottom-color: #ddd;
    background: #f0f0f0;
}

.ddm-models-collapsible[open] .ddm-models-collapsible__toggle::after {
    transform: rotate(180deg);
}

.ddm-models-collapsible .ddm-manuf-compat {
    margin-top: 0;
    padding: 24px;
    border-top: none;
}

/* ── Responsive mobile ───────────────────────────────────────────────────── */

@media (max-width: 991px) {
    /* Sur tablette : selects un peu plus courts */
    .ddm-select {
        min-width: 85px;
        max-width: 120px;
        font-size: 12px;
    }

    .ddm-btn {
        padding: 0 12px;
    }
}

@media (max-width: 767px) {

    /* Cacher le form et la barre active, montrer le trigger */
    .ddm-selector-form,
    .ddm-active-bar {
        display: none !important;
    }

    .ddm-mobile-trigger {
        display: flex !important;
    }

    /* ── Bottom sheet : form ── */
    .ddm-selector-form.ddm-sheet-open {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1050;
        background: #083A60;
        padding: 52px 20px 32px;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
    }

    .ddm-selector-form.ddm-sheet-open::before {
        content: '';
        width: 40px;
        height: 4px;
        background: rgba(255, 255, 255, 0.25);
        border-radius: 2px;
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .ddm-selector-form.ddm-sheet-open .ddm-sheet-close {
        display: inline-flex;
    }

    .ddm-selector-form.ddm-sheet-open .ddm-sheet-title {
        display: block;
    }

    .ddm-selector-intro {
        display: none;
    }

    .ddm-ms {
        max-width: 100%;
    }

    .ddm-ms__trigger {
        height: 46px;
        font-size: 15px;
        border-radius: 8px;
    }

    .ddm-ms__panel {
        min-width: 100%;
    }

    .ddm-select {
        max-width: 100%;
        height: 46px;
        font-size: 15px;
        border-radius: 8px;
        padding: 0 14px;
    }

    .ddm-btn-validate {
        width: 100%;
        justify-content: center;
        height: 50px;
        font-size: 15px;
        border-radius: 8px;
        margin-top: 4px;
    }

    /* ── Bottom sheet : active bar ── */
    .ddm-active-bar.ddm-sheet-open {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1050;
        background: #083A60;
        padding: 28px 20px 32px;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
    }

    .ddm-active-bar.ddm-sheet-open::before {
        content: '';
        width: 40px;
        height: 4px;
        background: rgba(255, 255, 255, 0.25);
        border-radius: 2px;
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .ddm-active-bar.ddm-sheet-open .ddm-active-label {
        font-size: 18px;
        white-space: normal;
    }

    .ddm-active-bar.ddm-sheet-open .ddm-btn {
        width: 100%;
        justify-content: center;
        height: 46px;
        font-size: 14px;
        border-radius: 8px;
    }

    /* ── Chips garage mobile ── */
    .ddm-garage-chips {
        flex-direction: column;
        align-items: flex-start;
        margin: 4px 0 0;
    }

    .ddm-garage-chip {
        max-width: 100%;
        font-size: 13px;
    }
}

/* ════════════════════════════════════════════════════════════════════════════
   Section hero page d'accueil (split bicolore — cartes arrondies)
   ════════════════════════════════════════════════════════════════════════════ */

.ddm-home-hero {
    display: flex;
    gap: 20px;
    align-items: stretch;
    padding: 32px 0;
}

/* ── Cards ── */

.ddm-hcard {
    flex: 1;
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
}

.ddm-hcard--dark {
    background: #083A60;
    color: #fff;
}

.ddm-hcard--light {
    background: #fff;
    color: #222;
    border: 1px solid #e8eef5;
}

/* ── En-tête card ── */

.ddm-hcard__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ddm-hcard__icon {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.65);
}

.ddm-hcard__icon--light {
    background: rgba(8, 58, 96, 0.07);
    color: #7a9ab8;
}

.ddm-hcard__title {
    font-family: 'Squada One', cursive;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.03em;
    margin: 0 0 3px;
    color: #fff;
}

.ddm-hcard__title--dark {
    color: #083A60;
}

.ddm-hcard__sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.4;
}

.ddm-hcard__sub--dark {
    color: #888;
}

/* ── Cascade sélecteur ── */

.ddm-hcascade {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ddm-hsel {
    appearance: none;
    -webkit-appearance: none;
    height: 44px;
    padding: 0 36px 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.6)'/%3E%3C/svg%3E") no-repeat right 12px center;
    color: #fff;
    cursor: pointer;
    width: 100%;
    transition: border-color 0.15s, background-color 0.15s;
    box-sizing: border-box;
}

.ddm-hsel option {
    color: #083A60;
    background: #fff;
}

.ddm-hsel:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.ddm-hsel:not(:disabled):hover,
.ddm-hsel:focus {
    border-color: rgba(255, 255, 255, 0.55);
    background-color: rgba(255, 255, 255, 0.15);
    outline: none;
}

.ddm-hsel--full {
    grid-column: 1 / -1;
}

.ddm-hsel--placeholder {
    appearance: none;
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.25);
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    cursor: not-allowed;
}

/* ── Bouton valider ── */

.ddm-hbtn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    padding: 0 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.03em;
    cursor: pointer;
    background: #B53331;
    color: #fff;
    transition: background 0.15s, transform 0.1s;
    width: 100%;
    margin-top: 4px;
}

.ddm-hbtn:hover:not(:disabled) {
    background: #8e2826;
    transform: translateY(-1px);
}

.ddm-hbtn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

/* ── Recherche rapide ── */

.ddm-hsearch {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ddm-hsearch__row {
    display: flex;
    gap: 10px;
    align-items: stretch;
    width: 100%;
}

.ddm-hsearch__input {
    width: 100%;
    min-width: 0;
    height: 50px;
    border: 2px solid #dde4ee;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: #333;
    outline: none;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.ddm-hsearch__input:focus {
    border-color: #083A60;
}

.ddm-hsearch__input::placeholder {
    color: #aaa;
    font-size: 13px;
}

.ddm-hsearch__btn {
    height: 50px;
    padding: 0 20px;
    border: none;
    border-radius: 8px;
    background: #083A60;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s;
}

.ddm-hsearch__btn:hover {
    background: #0b4a7a;
}

.ddm-hsearch__hint {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* ── Chips recherches fréquentes ── */

.ddm-hfreq {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #edf1f7;
}

.ddm-hfreq__label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #aaa;
}

.ddm-hfreq__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.ddm-hfreq__chip {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid #d6e1ec;
    background: #f4f7fb;
    color: #083A60;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.ddm-hfreq__chip:hover {
    background: #083A60;
    border-color: #083A60;
    color: #fff;
}

/* ── ddm-ms dans la cascade homepage (overrides taille/radius) ── */

.ddm-hcascade .ddm-ms {
    max-width: 100%;
    min-width: 0;
}

.ddm-hcascade .ddm-ms__trigger {
    height: 44px;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    padding: 0 14px;
}

.ddm-hcascade .ddm-ms__panel {
    min-width: 100%;
}

/* ── Chips garage / récents dans la card homepage ── */

.ddm-hgarage {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.ddm-hgarage__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ddm-hgarage__label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255, 255, 255, 0.45);
}

.ddm-hgarage__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.ddm-hgarage__chip {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    padding: 5px 14px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ddm-hgarage__chip:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.ddm-hgarage__chip:disabled {
    opacity: 0.5;
    cursor: wait;
}

.ddm-hgarage__link {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s;
}

.ddm-hgarage__link:hover {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: underline;
}

/* ── Responsive ── */

@media (min-width: 992px) {
    .ddm-hsearch__input {
        flex: 1;
        width: auto;
    }
}

@media (max-width: 991px) {
    .ddm-hcard {
        padding: 24px 20px;
    }

    .ddm-home-hero {
        flex-direction: column;
        gap: 16px;
        padding: 20px 0;
    }
}

@media (max-width: 767px) {
    .ddm-hcascade {
        grid-template-columns: 1fr;
    }

    .ddm-hsel--full {
        grid-column: 1;
    }

    .ddm-hsearch__row {
        flex-direction: column;
    }

    .ddm-hsearch__btn {
        width: 100%;
    }
}
