/* =====================================================================
   DriveOnly — design system du thème autostore
   ---------------------------------------------------------------------
   Couche de surcharge chargée APRÈS le CSS compilé du thème
   (assets/css/theme.css, jamais modifié : aucun outil de build n'est
   présent dans le dépôt). Chargée par templates/_partials/head.tpl.

   Principes : épuré, lisible, proche d'iOS sans le copier.
   - une seule couleur d'action (orange), le rouge réservé aux promotions
   - texte : police système d'Apple (SF Pro) sur iPhone / Mac, Geist
     auto-hébergée ailleurs (depuis le 2026-10-08 ; Inter puis Plus Jakarta
     Sans avant, fichiers gardés dans assets/fonts) ; titres : Archivo étendu
   - grands rayons, hairlines, ombres très légères, verre dépoli
   - toute animation respecte prefers-reduced-motion
   ===================================================================== */

/* Texte « façon iOS » : la vraie police d'Apple (SF Pro, -apple-system) sur iPhone, iPad et Mac — sa licence
   interdit de l'héberger sur un site — et, partout ailleurs (Windows, Android), Geist (OFL, Vercel), la plus
   proche de SF Pro parmi les polices libres. Police variable 400–800, sous-ensemble latin de Google Fonts
   (accents, œ, €). Nom de famille propre au thème : pas de collision avec un @font-face de module. */
@font-face {
    font-family: "DO Geist";
    src: url("../fonts/geist-text.woff2") format("woff2");
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DO Archivo";
    src: url("../fonts/archivo-display.woff2") format("woff2");
    font-weight: 600 850;
    font-style: normal;
    font-display: swap;
}

:root {
    /* couleurs */
    --do-bg: #f5f5f7;
    --do-surface: #ffffff;
    --do-surface-2: #f9f9fb;
    --do-studio: #f2f2f4;
    /* socle des photos produit (vignettes, galerie) */
    --do-ink: #0b0b0f;
    --do-ink-2: #2c2c33;
    --do-muted: #6e6e76;
    --do-line: rgba(10, 10, 20, .08);
    --do-line-strong: rgba(10, 10, 20, .14);
    --do-accent: #e5262e;
    --do-accent-hover: #ff9500;
    --dov-primary: #fbc723;
    --do-accent-soft: rgba(255, 149, 0, .12);
    --do-accent-ink: #fff;
    --do-red: #e5262e;
    /* rouge des grandes surfaces (sélecteur « Trouver ma pièce », bandeau des listes) : carmin profond, plus sobre
       qu'un grand aplat de rouge vif (2026-10-25) ; le rouge vif reste celui des petits éléments */
    --do-red-deep: #b5161e;
    --do-red-soft: rgba(229, 38, 46, .1);
    --do-green: #1a9a52;
    --do-green-soft: rgba(26, 154, 82, .1);
    --do-dark: #0a0a0d;
    --do-dark-2: #16161b;
    --do-dark-line: rgba(255, 255, 255, .1);

    /* typographie */
    /* -apple-system / BlinkMacSystemFont n'existent que chez Apple : ailleurs le navigateur passe à Geist */
    --do-font: -apple-system, BlinkMacSystemFont, "DO Geist", "Segoe UI", Roboto, Arial, sans-serif;
    --do-display: "DO Archivo", -apple-system, BlinkMacSystemFont, "DO Geist", sans-serif;
    --do-fs-display: clamp(34px, 5.2vw, 64px);
    --do-fs-h1: clamp(26px, 3.2vw, 40px);
    --do-fs-h2: clamp(22px, 2.4vw, 32px);
    --do-fs-h3: 18px;
    --do-fs-body: 15px;
    --do-fs-small: 13px;

    /* formes */
    --do-r-xl: 28px;
    --do-r-lg: 20px;
    --do-r: 14px;
    --do-r-sm: 10px;
    --do-pill: 999px;
    --do-shadow-1: 0 1px 2px rgba(10, 10, 20, .05);
    --do-shadow-2: 0 1px 2px rgba(10, 10, 20, .04), 0 12px 32px -14px rgba(10, 10, 20, .22);
    --do-shadow-3: 0 30px 80px -30px rgba(10, 10, 20, .45);
    --do-ring: 0 0 0 4px rgba(255, 149, 0, .28);

    /* espacements */
    --do-gutter: 20px;
    --do-section: clamp(48px, 7vw, 96px);
    --do-header-h: 72px;
    --do-ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------------------------------------------------------------------
   Base
   --------------------------------------------------------------------- */
html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--do-header-h) + 64px);
}

body {
    background: var(--do-bg);
    color: var(--do-ink);
    font-family: var(--do-font);
    font-size: var(--do-fs-body);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea,
.btn,
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--do-font);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    color: var(--do-ink);
    letter-spacing: -.01em;
    text-transform: none;
}

a {
    color: inherit;
    transition: color .2s var(--do-ease);
}

a:hover,
a:focus {
    color: var(--do-ink);
    text-decoration: none;
}

::selection {
    background: var(--do-accent);
    color: var(--do-accent-ink);
}

:focus-visible {
    outline: 2px solid var(--do-accent);
    outline-offset: 2px;
}

img {
    max-width: 100%;
}

#page {
    padding-top: 0 !important;
    background: var(--do-bg);
}

#wrapper {
    background: transparent;
    padding: 0 0 var(--do-section);
    /* theme.css pose « #wrapper, #footer { overflow: hidden } » : une liste déroulante ouverte en bas de page
       (tri des produits sous la grille) était coupée au ras du pied de page. Le débordement horizontal reste
       coupé par main#page (overflow: hidden lui aussi) ; flow-root garde le contexte de formatage que
       overflow: hidden créait (marges des enfants contenues dans #wrapper). */
    overflow: visible;
    display: flow-root;
}

#wrapper .container,
.do-container {
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--do-gutter);
    padding-right: var(--do-gutter);
}

.do-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.do-icon {
    width: 20px;
    height: 20px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.do-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: var(--do-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.do-eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--do-accent);
}

.do-display {
    font-family: var(--do-display);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.02;
}

/* ---------------------------------------------------------------------
   Boutons (système unique)
   --------------------------------------------------------------------- */
.do-btn,
.btn.btn-primary,
.btn-primary,
.btn.fill,
.more-btn,
.all-product-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: var(--do-pill);
    background: var(--do-accent);
    color: var(--do-accent-ink);
    font-family: var(--do-font);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.005em;
    line-height: 1;
    text-transform: none;
    white-space: nowrap;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 6px 18px -8px rgba(255, 149, 0, .7);
    cursor: pointer;
    transition: transform .15s var(--do-ease), background-color .2s var(--do-ease), box-shadow .2s var(--do-ease), color .2s;
}

.do-btn:hover,
.btn.btn-primary:hover,
.btn-primary:hover,
.btn.fill:hover,
.more-btn:hover,
.all-product-link:hover {
    background: var(--do-accent-hover);
    color: var(--do-accent-ink);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 10px 24px -10px rgba(255, 149, 0, .85);
}

.do-btn:active,
.btn.btn-primary:active,
.btn-primary:active {
    transform: scale(.98);
}

.do-btn:focus-visible,
.btn:focus-visible {
    outline: none;
    box-shadow: var(--do-ring);
}

.btn.btn-primary.disabled,
.btn.btn-primary:disabled,
.do-btn[disabled] {
    background: #d9d9de;
    color: #8b8b93;
    box-shadow: none;
    cursor: not-allowed;
}

.do-btn--dark {
    background: var(--do-ink);
    color: #fff;
    box-shadow: none;
}

.do-btn--dark:hover {
    background: #26262d;
    color: #fff;
    box-shadow: none;
}

.do-btn--ghost,
.btn.btn-secondary,
.btn-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid var(--do-line-strong);
    border-radius: var(--do-pill);
    background: var(--do-surface);
    color: var(--do-ink);
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
    box-shadow: none;
}

.do-btn--ghost:hover,
.btn.btn-secondary:hover,
.btn-secondary:hover {
    background: var(--do-surface-2);
    border-color: var(--do-ink);
    color: var(--do-ink);
}

.do-btn--glass {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .22);
    color: #fff;
    box-shadow: none;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.do-btn--glass:hover {
    background: rgba(255, 255, 255, .18);
    color: #fff;
    box-shadow: none;
}

.do-btn--sm {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
}

.do-btn--lg {
    min-height: 54px;
    padding: 0 28px;
    font-size: 16px;
}

.do-btn--block {
    display: flex;
    width: 100%;
}

.do-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--do-ink);
    font-weight: 600;
}

.do-link .do-icon {
    width: 16px;
    height: 16px;
    transition: transform .2s var(--do-ease);
}

/* « Tout voir » des rayons : classe all-product-link exigée par dovehicle (il y réinjecte le
   véhicule choisi), mais aspect de lien et non de bouton */
.do-link.all-product-link,
.do-link.all-product-link:hover {
    min-height: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--do-ink);
    font-size: inherit;
    font-weight: 600;
    box-shadow: none;
}

.do-link:hover .do-icon {
    transform: translateX(3px);
}

.do-icon-btn {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: var(--do-pill);
    background: transparent;
    color: var(--do-ink);
    cursor: pointer;
    transition: background-color .2s var(--do-ease);
}

.do-icon-btn:hover {
    background: rgba(10, 10, 20, .06);
    color: var(--do-ink);
}

.do-badge-count {
    position: absolute;
    top: 3px;
    right: 1px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: var(--do-pill);
    background: var(--do-accent);
    color: var(--do-accent-ink);
    font-size: 10px;
    font-weight: 800;
    line-height: 14px;
    text-align: center;
}

.do-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid var(--do-line-strong);
    border-radius: var(--do-pill);
    background: var(--do-surface);
    color: var(--do-ink-2);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color .2s, border-color .2s, color .2s;
}

.do-chip:hover {
    border-color: var(--do-ink);
    color: var(--do-ink);
}

/* champs de formulaire */
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="search"],
input[type="number"],
select.form-control,
textarea {
    border: 1px solid var(--do-line-strong);
    border-radius: var(--do-r-sm);
    background-color: var(--do-surface);
    color: var(--do-ink);
    font-size: 15px;
    box-shadow: none;
    transition: border-color .2s, box-shadow .2s;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--do-accent);
    box-shadow: var(--do-ring);
    outline: none;
}

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
#header,
#header.fixed-top {
    position: sticky !important;
    top: 0;
    z-index: 100;
    background: transparent;
    box-shadow: none;
    transform: none !important;
    -webkit-transform: none !important;
}

#header .header-banner:empty {
    display: none;
}

.do-strip {
    background: var(--do-dark);
    color: rgba(255, 255, 255, .78);
    font-size: 12.5px;
}

.do-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 36px;
}

.do-strip__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 28px;
    min-width: 0;
    height: 36px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style: none;
}

/* faute de place (petits portables), les derniers arguments passent à la ligne, donc hors champ */
.do-strip__list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    white-space: nowrap;
}

.do-strip__list .do-icon {
    width: 15px;
    height: 15px;
    color: var(--do-accent);
}

.do-strip a {
    color: #fff;
    font-weight: 600;
}

.do-strip a:hover {
    color: var(--do-accent);
}

.do-strip__side {
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
}

.do-bar {
    background: rgba(255, 255, 255, .86);
    border-bottom: 1px solid var(--do-line);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    transition: box-shadow .25s var(--do-ease), background-color .25s;
}

.is-scrolled .do-bar {
    box-shadow: 0 8px 30px -18px rgba(10, 10, 20, .35);
}

.do-bar__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    min-height: var(--do-header-h);
}

.do-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--do-ink);
}

.do-logo img {
    display: block;
    width: auto;
    height: 58px;
}

.do-logo__word {
    display: none;
}

.do-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.do-actions .do-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 12px;
    border-radius: var(--do-pill);
    color: var(--do-ink);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color .2s;
}

.do-actions .do-action:hover {
    background: rgba(10, 10, 20, .06);
    color: var(--do-ink);
}

.do-action__icon {
    position: relative;
    display: inline-grid;
    place-items: center;
}

.do-action--cart {
    background: var(--do-ink);
    color: #fff !important;
    padding: 0 16px 0 14px !important;
}

.do-action--cart:hover {
    background: #26262d !important;
}

.do-action--cart .do-badge-count {
    top: -8px;
    right: -10px;
    border-color: var(--do-ink);
}

/* ps_shoppingcart / ps_customersignin : on neutralise les anciens gabarits */
#header .blockcart,
#header .cart-preview {
    position: relative;
}

#header .cart-hover-content {
    display: none !important;
}

/* Recherche */
.do-search {
    position: relative;
    width: 100%;
    max-width: 720px;
    justify-self: center;
}

.do-search form {
    position: relative;
    display: flex;
    align-items: center;
    height: 48px;
    margin: 0;
    padding: 0 6px 0 16px;
    border: 1px solid transparent;
    border-radius: var(--do-pill);
    background: rgba(118, 118, 128, .12);
    transition: background-color .2s, border-color .2s, box-shadow .2s;
}

.do-search form:focus-within {
    background: #fff;
    border-color: var(--do-accent);
    box-shadow: var(--do-ring);
}

.do-search .do-icon {
    color: var(--do-muted);
}

.do-search input[type="text"] {
    flex: 1;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0 12px;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--do-ink);
    font-size: 15px;
}

.do-search input::placeholder {
    color: #8e8e96;
}

.do-search__kbd {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    margin-right: 6px;
    padding: 0 6px;
    border: 1px solid var(--do-line-strong);
    border-radius: 7px;
    background: #fff;
    color: var(--do-muted);
    font-family: var(--do-font);
    font-size: 12px;
    font-weight: 600;
}

.do-search form:focus-within .do-search__kbd {
    display: none;
}

.do-search__btn {
    height: 38px;
    padding: 0 18px;
    border: 0;
    border-radius: var(--do-pill);
    background: var(--do-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s;
}

.do-search__btn:hover {
    background: #26262d;
}

/* suggestions (jQuery UI autocomplete de ps_searchbar) */
.ui-autocomplete.ui-menu {
    z-index: 1200 !important;
    max-height: 70vh;
    overflow-y: auto;
    margin-top: 8px;
    padding: 8px;
    border: 1px solid var(--do-line) !important;
    border-radius: var(--do-r-lg);
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--do-shadow-3);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    font-family: var(--do-font);
}

.ui-autocomplete .ui-menu-item a,
.ui-autocomplete .ui-menu-item .ui-menu-item-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border: 0 !important;
    border-radius: 12px;
    color: var(--do-ink);
    font-size: 14px;
    line-height: 1.35;
}

.ui-autocomplete .ui-state-focus,
.ui-autocomplete .ui-state-active,
.ui-autocomplete .ui-menu-item a:hover {
    margin: 0 !important;
    background: var(--do-bg) !important;
    color: var(--do-ink) !important;
}

.ui-autocomplete .autocomplete-thumbnail {
    width: 48px;
    height: 48px;
    flex: none;
    border-radius: 10px;
    background: #fff;
    object-fit: contain;
    border: 1px solid var(--do-line);
}

.do-scrim {
    position: fixed;
    inset: 0;
    z-index: 95;
    visibility: hidden;
    opacity: 0;
    background: rgba(10, 10, 13, .45);
    transition: opacity .25s var(--do-ease), visibility 0s linear .25s;
}

.do-scrim.is-visible {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

/* ---------------------------------------------------------------------
   Fil d'Ariane & notifications
   --------------------------------------------------------------------- */
.breadcrumb {
    margin: 0;
    padding: 18px 0 6px;
    background: transparent;
    border: 0;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.breadcrumb li,
.breadcrumb li a,
.breadcrumb li span {
    color: var(--do-muted);
    font-size: 13px;
    font-weight: 500;
}

.breadcrumb li:last-child span,
.breadcrumb li:last-child a {
    color: var(--do-ink);
}

.breadcrumb li::after {
    color: #b4b4bb !important;
}

#notifications .alert {
    border: 0;
    border-radius: var(--do-r);
    font-size: 14px;
}

/* ---------------------------------------------------------------------
   Sections génériques
   --------------------------------------------------------------------- */
.do-section {
    padding-top: var(--do-section);
}

.do-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.do-section__title {
    margin: 0;
    font-family: var(--do-display);
    font-size: var(--do-fs-h2);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.08;
}

.do-section__sub {
    max-width: 560px;
    margin: 8px 0 0;
    color: var(--do-muted);
    font-size: 15px;
}

.do-reveal {
    opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
    .js-do .do-reveal {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity .7s var(--do-ease), transform .7s var(--do-ease);
    }

    .js-do .do-reveal.is-in {
        opacity: 1;
        transform: none;
    }
}

/* ---------------------------------------------------------------------
   Accueil — hero
   --------------------------------------------------------------------- */
body#index #wrapper {
    padding-top: 0;
    /* le hero blanc part directement sous le menu (la marge générale de #wrapper y dessinait une bande grise) */
    margin-top: 0;
}

/* Calques du hero : pas d'overflow: hidden ni d'isolation, sinon les listes du sélecteur
   (dovehicle) sont rognées ou passent sous le bandeau de réassurance qui chevauche le hero.
   Décors (::before, ::after) en z-index 0, dans le cadre du hero ; contenu (.do-hero__inner)
   en z-index 1, au-dessus du bandeau (.do-trust, z-index 0). */
/* Hero clair (2026-10-07) : les bannières du carrousel et les photos produit sont sur fond blanc,
   comme le reste du site ; seule la carte « Trouver ma pièce » reste sombre, point focal de la page.
   Le dégradé descend vers le fond de page (--do-bg) sous le bandeau de réassurance. */
.do-hero {
    position: relative;
    background: linear-gradient(180deg, #fff 0%, #fff 55%, var(--do-bg) 100%);
    color: var(--do-ink);
}

.do-hero::before {
    /* grille technique, estompée vers les bords */
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(10, 10, 20, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 10, 20, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 75%);
}

.do-hero::after {
    /* halo orange, dessiné dans le cadre du hero (il en débordait) */
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle min(35vw, 490px) at 75% 30%, rgba(255, 149, 0, .14), rgba(255, 149, 0, .04) 55%, transparent 72%);
}

.do-hero__inner {
    position: relative;
    z-index: 1;
    padding-top: clamp(28px, 3.6vw, 52px);
    /* le bandeau de réassurance remonte de 56 px sur le hero */
    padding-bottom: calc(56px + clamp(24px, 3vw, 40px));
}

/* en-tête : titre à gauche, accroche + chiffres à droite */
.do-hero__head {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: end;
    gap: 20px clamp(32px, 5vw, 80px);
    margin-bottom: clamp(24px, 3vw, 36px);
}

.do-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 6px 14px 6px 6px;
    border: 1px solid var(--do-line-strong);
    border-radius: var(--do-pill);
    background: var(--do-surface);
    color: #3a3a42;
    box-shadow: var(--do-shadow-1);
    font-size: 13px;
    font-weight: 500;
}

.do-hero__tag b {
    padding: 3px 9px;
    border-radius: var(--do-pill);
    background: var(--do-accent);
    color: var(--do-accent-ink);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.do-hero h1 {
    margin: 0;
    color: var(--do-ink);
    font-family: var(--do-display);
    font-size: clamp(30px, 3.4vw, 50px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.02;
    text-wrap: balance;
}

.do-hero h1 em {
    display: block;
    font-style: normal;
    background: linear-gradient(172deg, #d00309 0%, #410000 60%, #de5722 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.do-hero__lead {
    max-width: 540px;
    margin: 0;
    color: black;
    font-family: var(--do-font);
    font-weight: 600;
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.6;
}

.do-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 0;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.do-hero__stats li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 22px;
    border-left: 1px solid var(--do-line-strong);
}

.do-hero__stats li:first-child {
    padding-left: 0;
    border-left: 0;
}

.do-hero__stats strong {
    color: var(--do-ink);
    font-family: var(--do-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.do-hero__stats span {
    color: var(--do-muted);
    font-size: 12.5px;
}

/* les deux cartes l'une sous l'autre (2026-10-16) : « Trouver ma pièce » (sombre) en pleine largeur,
   ses quatre listes sur une ligne, puis le carrousel (blanc). Côte à côte, le sélecteur manquait d'air. */
.do-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(16px, 1.8vw, 28px);
}

/* Photo du hero (2026-10-14) — home-hero.tpl, .do-hero--photo : Porsche 911 blanche de profil, photo studio
   sur fond blanc (fond éclairci au blanc pur). Enfant direct du hero, au niveau des décors (z-index 0, sous
   .do-hero__inner) et en mode de fusion « produit » (multiply) : le blanc de la photo s'efface, la voiture se
   pose sur le fond du hero et son quadrillage (::before) passe dessus, sans cadre visible. Le hero ne doit
   pas devenir un contexte d'empilement (isolation, z-index) : la fusion ne verrait plus son fond. */
.do-hero__bg {
    position: relative;
    z-index: 0;
    pointer-events: none;
    aspect-ratio: 1600 / 678;
    mix-blend-mode: multiply;
    -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
}

.do-hero__bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (min-width: 992px) {
    .do-hero--photo .do-hero__inner {
        padding-top: clamp(20px, 2.4vw, 36px);
    }

    /* grande photo à droite de la colonne de texte (640 px), jusqu'au bord du contenu + 60 px de marge */
    .do-hero__bg {
        position: absolute;
        top: clamp(44px, 5.6vw, 88px);
        left: calc(max(var(--do-gutter), (100% - 1320px) / 2 + var(--do-gutter)) + 600px);
        right: max(0px, (100% - 1320px) / 2 - 60px);
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 94%, transparent 100%), linear-gradient(180deg, #000 80%, transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 94%, transparent 100%), linear-gradient(180deg, #000 80%, transparent 100%);
        -webkit-mask-composite: source-in;
        mask-composite: intersect;
    }

    .do-hero--photo .do-hero__head {
        grid-template-columns: minmax(0, 640px);
        gap: 14px;
        margin-bottom: clamp(20px, 2.2vw, 28px);
    }

    .do-hero--photo .do-hero__tag {
        margin-bottom: 14px;
    }

    .do-hero--photo .do-hero__lead {
        max-width: 600px;
    }

    .do-hero--photo .do-hero__stats {
        margin-top: 12px;
    }
}

/* petits portables : colonne de texte un peu plus étroite */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .do-hero--photo .do-hero__head {
        grid-template-columns: minmax(0, 540px);
    }

    .do-hero--photo .do-hero__lead {
        max-width: 540px;
    }

    .do-hero__bg {
        left: calc(var(--do-gutter) + 520px);
    }
}

/* mobile et tablette : photo en pleine largeur en haut du hero, le titre remonte sur son ombre */
@media (max-width: 991.98px) {
    .do-hero__bg {
        max-width: 760px;
        margin: 8px auto -12px;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%), linear-gradient(180deg, #000 80%, transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%), linear-gradient(180deg, #000 80%, transparent 100%);
        -webkit-mask-composite: source-in;
        mask-composite: intersect;
    }
}

html.dov-filtering body#index .do-hero__bg {
    display: none;
}

/* ---------------------------------------------------------------------
   Carrousel du hero — bannières du module angarslider (fond blanc),
   défilement natif (scroll-snap), piloté par assets/js/driveonly.js
   --------------------------------------------------------------------- */
.do-slider {
    --do-slider-delay: 6000ms;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    /* border-radius: var(--do-r-xl); */
    background: #fff;
    color: var(--do-ink);
    margin-top: 40px;
    /* box-shadow: 0 1px 2px rgba(10, 10, 20, .04), 0 24px 48px -28px rgba(10, 10, 20, .3), 0 0 0 1px var(--do-line); */
}

.do-slider__track {
    display: flex;
    flex: 1 1 auto;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.do-slider__track::-webkit-scrollbar {
    display: none;
}

.do-slider__slide {
    display: flex;
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* les bannières ont un fond blanc (bords #fff) : dans la carte pleine largeur, elles restent centrées, au plus
   880 px de large (≈ 350 px de haut, sous leur taille d'origine de 980 × 388 : jamais agrandies ni floues) ;
   le blanc de la carte les prolonge */
.do-slider__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.do-slider__link picture {
    display: block;
    width: 100%;
    max-width: 880px;
}

.do-slider__link img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 978 / 388;
    object-fit: contain;
    transition: transform .8s var(--do-ease);
}

@media (hover: hover) {
    .do-slider__link:hover img {
        transform: scale(1.025);
    }
}

.do-slider__link:focus-visible {
    outline: 3px solid var(--do-accent);
    outline-offset: -3px;
}

.do-slider__bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 12px 10px 20px;
    border-top: 1px solid var(--do-line);
}

/* segments de progression façon « stories » : un par bannière, cliquables */
.do-slider__dots {
    display: flex;
    flex: 1 1 auto;
    gap: 6px;
    min-width: 0;
    max-width: 300px;
}

.do-slider__dot {
    position: relative;
    flex: 1 1 0;
    min-width: 14px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.do-slider__dot::before,
.do-slider__dot span {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 4px;
    margin-top: -2px;
    border-radius: 4px;
}

.do-slider__dot::before {
    background: rgba(10, 10, 20, .1);
    transition: background-color .2s var(--do-ease);
}

.do-slider__dot:hover::before {
    background: rgba(10, 10, 20, .2);
}

.do-slider__dot span {
    background: var(--do-accent);
    transform: scaleX(0);
    transform-origin: left center;
}

.do-slider__dot.is-active span {
    transform: none;
}

.do-slider__dot:focus-visible {
    outline: 2px solid var(--do-accent);
    outline-offset: 2px;
    border-radius: 6px;
}

@media (prefers-reduced-motion: no-preference) {
    .do-slider.is-playing .do-slider__dot.is-active span {
        animation: do-slider-fill var(--do-slider-delay) linear both;
    }

    .do-slider.is-playing.is-held .do-slider__dot.is-active span {
        animation-play-state: paused;
    }
}

@keyframes do-slider-fill {
    from {
        transform: scaleX(0);
    }

    to {
        transform: none;
    }
}

.do-slider__count {
    color: var(--do-muted);
    font-size: 12.5px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.do-slider__count b {
    color: var(--do-ink);
}

.do-slider__ctrls {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.do-slider__btn {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--do-bg);
    color: var(--do-ink);
    cursor: pointer;
    transition: background-color .2s var(--do-ease), transform .15s var(--do-ease);
}

.do-slider__btn:hover {
    background: #e8e8ed;
}

.do-slider__btn:active {
    transform: scale(.94);
}

.do-slider__btn:focus-visible {
    outline: 2px solid var(--do-accent);
    outline-offset: 2px;
}

.do-slider__btn .do-icon {
    width: 18px;
    height: 18px;
}

.do-slider .do-slider__play,
.do-slider.is-playing .do-slider__pause {
    display: block;
}

.do-slider .do-slider__pause,
.do-slider.is-playing .do-slider__play {
    display: none;
}

/* =====================================================================
   « Trouver ma pièce » — sélecteur véhicule de l'accueil, v2 (2026-10-23)
   Retour de l'utilisateur : trop lourd sur mobile (646 px de haut, sous la ligne de flottaison), trop
   d'efforts, et rien n'indiquait que les résultats s'affichent dessous. Désormais :
   - la carte (rouge uni) ne porte plus qu'un titre, une phrase et les onglets Auto / Moto ; les quatre listes
     (.do-vehicle-facets-wrapper du module) forment un creux rouge plus sombre, même thème que la carte
     (2026-10-25) : liste façon iOS sur mobile (libellé au-dessus de la valeur, chevron), 2 × 2 sur tablette,
     barre de recherche d'un seul tenant sur ordinateur ;
   - bouton « Voir les N pièces » (.do-finder__go, piloté par driveonly.js) : « Rechercher » sans choix, puis le
     nombre de pièces trouvées ; il mène aux résultats. Au bout de la barre sur ordinateur (sous-grille) ;
   - « Réinitialiser » : dernière ligne de la liste (mobile), pastille dans la barre (ordinateur) ;
   - listes ouvertes en tiroir sous 576 px (« Listes du sélecteur », plus bas).
   Le creux des listes est commun à l'accueil et au bandeau des meilleures ventes et des promotions
   (#dovehicle_filters.dovehicle-homefilter) ; la colonne de gauche des catégories n'est pas concernée.
   z-index 2 : les listes ouvertes passent devant le carrousel, placé dessous.
   ===================================================================== */
.do-finder {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "title tabs"
        "sub sub"
        "err err"
        "bar bar"
        "go go";
    align-items: center;
    gap: 0 12px;
    min-width: 0;
    padding: 16px;
    border-radius: 24px;
    /* couleur unie (2026-10-25) : le dégradé rouge → noir et son liseré animé faisaient trop « chromé ». Carmin
       profond, repris par tout ce qui est rouge dans la carte (bouton, onglet actif, listes ouvertes) */
    --do-accent: var(--do-red-deep);
    background: var(--do-accent);
    box-shadow: var(--do-shadow-3);
    color: #fff;
    isolation: isolate;
}

/* titre, phrase, onglets, listes et bouton : cases de la grille de la carte (les blocs qui les contiennent,
   en-tête et widget du module, s'effacent de la mise en page ; aucun script ne les mesure) */
.do-finder__head,
.do-finder #dovehicle_filters {
    display: contents !important;
}

.do-finder__title {
    grid-area: title;
    margin: 0;
    color: #fff;
    font-family: var(--do-display);
    /* sur une ligne à côté des onglets, jusqu'à 360 px de large */
    font-size: clamp(16px, 4.6vw, 19px);
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.2;
}

.do-finder__sub {
    grid-area: sub;
    margin: 6px 0 0;
    color: rgba(255, 255, 255, .92);
    font-size: 13px;
    line-height: 1.4;
}

.do-finder__empty {
    grid-column: 1 / -1;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .7);
}

.do-finder #dovehicle_filters .filterhome-label,
.do-finder .do-vehicle-sep-24,
.do-finder .dovehicle-results-container,
.do-finder__foot {
    display: none !important;
}

.do-finder #dovehicle-filters-error {
    grid-area: err;
    margin: 12px 0 0;
}

.do-finder #dovehicle_filters .dov-universe {
    grid-area: tabs;
    width: auto;
    max-width: none;
    margin: 0;
}

.do-finder .do-vehicle-facets-wrapper {
    grid-area: bar;
    margin-top: 14px !important;
}

.do-finder__go-wrap {
    grid-area: go;
    margin-top: 12px;
}

/* --- Listes (accueil, meilleures ventes, promotions) : même thème que la carte rouge (2026-10-25) ---
   Creux rouge plus sombre (comme la piste des onglets Auto / Moto), libellés et valeurs en blanc ; le blanc plein
   est réservé à l'onglet actif et au bouton. Libellés à 85 % : contraste ≥ 4,5:1 sur le creux. */
.dovehicle-homefilter {
    --dvf-well: rgba(0, 0, 0, .16);
    --dvf-edge: inset 0 0 0 1px rgba(255, 255, 255, .12);
    --dvf-line: rgba(255, 255, 255, .16);
    --dvf-soft: rgba(255, 255, 255, .85);
}

.dovehicle-homefilter .do-vehicle-facets-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 0 !important;
    width: 100%;
    padding: 4px !important;
    border: 0 !important;
    border-radius: 18px;
    background: var(--dvf-well) !important;
    box-shadow: var(--dvf-edge) !important;
    color: #fff !important;
    font-family: var(--do-font) !important;
}

.dovehicle-homefilter .do-vehicle-facets-wrapper>.facet {
    position: relative;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    /* hauteur du champ dès l'affichage : pas de saut quand le module remplace les listes natives */
    min-height: 56px;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* filet entre deux lignes, décalé à gauche comme dans les listes iOS */
.dovehicle-homefilter .do-vehicle-facets-wrapper>.facet+.facet::before {
    content: "";
    position: absolute;
    top: 0;
    left: 14px;
    right: 0;
    z-index: 1;
    height: 1px;
    background: var(--dvf-line);
    pointer-events: none;
}

/* libellé posé dans le champ, au-dessus de la valeur */
.dovehicle-homefilter .facet-title {
    position: absolute;
    top: 10px;
    left: 14px;
    right: 40px;
    z-index: 2;
    display: block !important;
    margin: 0 !important;
    overflow: hidden;
    color: var(--dvf-soft) !important;
    font-family: var(--do-font) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .06em;
    line-height: 1.2 !important;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
}

.dovehicle-homefilter .facet:has(.dov-search-select.open) .facet-title {
    color: #fff !important;
}

.dovehicle-homefilter .dov-search-select__control {
    width: 100% !important;
    min-height: 56px !important;
    padding: 25px 38px 8px 14px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.35;
    transition: background-color .15s ease;
}

.dovehicle-homefilter .dov-search-select__control * {
    color: inherit !important;
}

.dovehicle-homefilter .dov-search-select.is-empty .dov-search-select__value {
    color: var(--dvf-soft) !important;
    font-weight: 500;
}

.dovehicle-homefilter .dov-search-select__control:hover:not(:disabled) {
    background: rgba(255, 255, 255, .08) !important;
}

.dovehicle-homefilter .dov-search-select.open .dov-search-select__control {
    background: rgba(255, 255, 255, .14) !important;
}

.dovehicle-homefilter .dov-search-select__control:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -2px;
}

/* chevron (›) : la liste s'ouvre en tiroir ; vers le bas à partir de 576 px (liste déroulante) */
.dovehicle-homefilter .dov-search-select__arrow {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    background: var(--dvf-soft);
    font-size: 0;
    -webkit-mask: var(--do-i-chev) center / contain no-repeat;
    mask: var(--do-i-chev) center / contain no-repeat;
    transform: none;
    transition: transform .2s var(--do-ease);
}

.dovehicle-homefilter .dov-search-select.open .dov-search-select__arrow {
    background: #fff;
}

.dovehicle-homefilter .dov-search-select.is-disabled .dov-search-select__control,
.dovehicle-homefilter .dov-search-select__control:disabled {
    opacity: .45;
    background: transparent !important;
    cursor: not-allowed;
}

.dovehicle-homefilter .facet:has(.dov-search-select.is-disabled) .facet-title {
    opacity: .6;
}

/* « Réinitialiser » : dernière ligne de la liste (mobile) ; replié sans choix */
.dovehicle-homefilter .do-vehicle-facets-wrapper>.facet.last {
    min-height: 0;
}

.dovehicle-homefilter .do-vehicle-facets-wrapper>.facet.last:not(:has(.is-visible))::before {
    display: none;
}

.dovehicle-homefilter .dovehicle-reset-filters {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    font-family: var(--do-font) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    transform: none !important;
}

.dovehicle-homefilter .dovehicle-reset-filters::before {
    content: "";
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dovehicle-homefilter .dovehicle-reset-filters:hover {
    background: rgba(255, 255, 255, .1) !important;
}

/* replié tant qu'aucun filtre n'est actif (le module le replie en max-height 0 : nos hauteurs minimales ne
   doivent pas le garder ouvert) */
.dovehicle-homefilter .dovehicle-reset-filters:not(.is-visible) {
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* --- Bouton « Voir les N pièces » --- */
.do-finder__go {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    padding: 0 20px;
    border: 0;
    border-radius: 16px;
    background: #fff;
    color: var(--do-ink);
    box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .7);
    font-family: var(--do-font);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, transform .15s var(--do-ease);
}

.do-finder__go:hover {
    background: #f3f3f5;
}

.do-finder__go:active {
    transform: scale(.985);
}

.do-finder__go:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.do-finder__go .do-icon {
    flex: none;
    width: 20px;
    height: 20px;
    color: var(--do-accent);
    stroke-width: 2.2;
}

/* résultats prêts : flèche vers le bas dans une pastille rouge */
.do-finder__go-icon--down {
    box-sizing: content-box;
    padding: 5px;
    border-radius: 50%;
    background: var(--do-accent);
    color: #fff !important;
}

.do-finder__go-spin {
    flex: none;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(229, 38, 46, .25);
    border-top-color: var(--do-accent);
    border-radius: 50%;
    animation: dovSpin .8s linear infinite;
}

.do-finder__go:not(.is-idle) .do-finder__go-icon--search,
.do-finder__go:not(.is-loading) .do-finder__go-spin,
.do-finder__go:not(.is-ready) .do-finder__go-icon--down {
    display: none;
}

.do-finder__go.is-empty {
    color: var(--do-muted);
    cursor: default;
}

/* --- Tablette (576–991 px) : listes en 2 × 2 --- */
@media (min-width: 576px) {
    .do-finder {
        padding: 20px;
    }

    .do-finder__title {
        font-size: 21px;
    }

    .dovehicle-homefilter .do-vehicle-facets-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dovehicle-homefilter .do-vehicle-facets-wrapper>.facet.last {
        grid-column: 1 / -1;
    }

    /* filets : sous la première ligne, et entre les deux colonnes */
    .dovehicle-homefilter .do-vehicle-facets-wrapper>.facet+.facet::before {
        display: none;
    }

    .dovehicle-homefilter .do-vehicle-facets-wrapper>.facet:nth-child(n+3)::before,
    .dovehicle-homefilter .do-vehicle-facets-wrapper>.facet.last:has(.is-visible)::before {
        display: block;
        left: 14px;
        right: 14px;
    }

    .dovehicle-homefilter .do-vehicle-facets-wrapper>.facet:nth-child(even):not(.last)::after {
        content: "";
        position: absolute;
        top: 12px;
        bottom: 12px;
        left: 0;
        display: block;
        width: 1px;
        height: auto;
        background: var(--dvf-line);
    }

    .dovehicle-homefilter .dov-search-select__arrow {
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    }

    .dovehicle-homefilter .dov-search-select.open .dov-search-select__arrow {
        transform: rotate(180deg);
    }

    .do-finder__go-wrap {
        margin-top: 14px;
    }
}

/* --- Ordinateur (≥ 992 px) : une barre de recherche d'un seul tenant ---
   Colonnes de la carte : quatre listes, « Réinitialiser » (repliée sans choix), bouton. La barre
   (.do-vehicle-facets-wrapper) couvre toute la ligne et reprend ces colonnes (sous-grille) ; le bouton, case de
   la carte, se pose dans la dernière, au bout de la barre. Titre et onglets partagent la 1re ligne sans peser
   sur la largeur des colonnes (ils couvrent toutes les colonnes, les onglets calés à droite). */
@media (min-width: 992px) {
    .do-hero .do-finder {
        grid-template-columns: repeat(4, minmax(0, 1fr)) auto auto;
        grid-template-areas: none;
        gap: 0;
        padding: 26px 28px 20px;
    }

    .do-hero .do-finder__head {
        display: block !important;
        grid-row: 1;
        grid-column: 1 / -1;
        padding-right: 340px;
    }

    .do-hero .do-finder__title {
        font-size: 22px;
    }

    .do-hero .do-finder__sub {
        margin-top: 4px;
        font-size: 14px;
    }

    .do-hero .do-finder #dovehicle_filters .dov-universe {
        grid-area: auto;
        grid-row: 1;
        grid-column: 1 / -1;
        justify-self: end;
        align-self: center;
        width: 320px;
    }

    .do-hero .do-finder #dovehicle-filters-error {
        grid-area: auto;
        grid-row: 3;
        grid-column: 1 / -1;
    }

    .do-hero .do-finder .do-vehicle-facets-wrapper {
        grid-area: auto;
        grid-row: 2;
        grid-column: 1 / 6;
        grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
        margin-top: 20px !important;
        padding: 6px !important;
        border-radius: 22px;
    }

    .do-hero .do-finder__go-wrap {
        grid-area: auto;
        grid-row: 2;
        grid-column: 6;
        align-self: center;
        margin: 20px 0 0 12px;
    }

    .do-hero .do-finder__foot {
        display: flex !important;
        grid-row: 4;
        grid-column: 1 / -1;
        align-items: center;
        gap: 8px;
        margin: 0;
        padding-top: 14px;
        color: rgba(255, 255, 255, .92);
        font-size: 13px;
    }

    .do-hero .do-finder__foot .do-icon {
        width: 16px;
        height: 16px;
        color: #fff;
    }

    @supports (grid-template-columns: subgrid) {
        .do-hero .do-finder .do-vehicle-facets-wrapper {
            grid-column: 1 / -1;
            grid-template-columns: subgrid;
        }

        .do-hero .do-finder__go-wrap {
            position: relative;
            z-index: 1;
            margin: 20px 6px 0 6px;
        }
    }

    body:not(#index) .dovehicle-homefilter .do-vehicle-facets-wrapper {
        grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
        padding: 6px !important;
        border-radius: 22px;
    }

    .dovehicle-homefilter .do-vehicle-facets-wrapper>.facet {
        min-height: 64px;
    }

    .dovehicle-homefilter .do-vehicle-facets-wrapper>.facet:nth-child(-n+4) {
        grid-row: 1;
    }

    .dovehicle-homefilter .do-vehicle-facets-wrapper>.facet.last {
        grid-row: 1;
        grid-column: 5;
        align-self: center;
        min-height: 0;
    }

    /* séparateurs verticaux entre les listes */
    .dovehicle-homefilter .do-vehicle-facets-wrapper>.facet::before,
    .dovehicle-homefilter .do-vehicle-facets-wrapper>.facet::after {
        display: none !important;
    }

    .dovehicle-homefilter .do-vehicle-facets-wrapper>.facet:nth-child(-n+4)+.facet:not(.last)::before {
        display: block !important;
        top: 14px;
        bottom: 14px;
        left: 0;
        right: auto;
        width: 1px;
        height: auto;
    }

    .dovehicle-homefilter .facet-title {
        top: 14px;
        left: 20px;
    }

    .dovehicle-homefilter .dov-search-select__control {
        min-height: 64px !important;
        padding: 31px 40px 11px 20px !important;
        border-radius: 16px !important;
    }

    .dovehicle-homefilter .dov-search-select__arrow {
        right: 16px;
    }

    /* « Réinitialiser » : pastille « ✕ Effacer » dans la barre */
    .dovehicle-homefilter .dovehicle-reset-filters.is-visible {
        width: auto;
        min-height: 40px !important;
        margin: 0 8px !important;
        padding: 0 14px !important;
        border-radius: var(--do-pill) !important;
        background: rgba(255, 255, 255, .14) !important;
        color: #fff !important;
        font-size: 13.5px !important;
        white-space: nowrap;
    }

    .dovehicle-homefilter .dovehicle-reset-filters.is-visible:hover {
        background: rgba(255, 255, 255, .24) !important;
        color: #fff !important;
    }

    .dovehicle-homefilter .dovehicle-reset-filters:not(.is-visible) {
        width: 0;
        padding: 0 !important;
    }

    .do-hero .do-finder__go {
        width: auto;
        min-height: 54px;
        padding: 0 24px;
        border-radius: 16px;
        box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .5);
        white-space: nowrap;
    }

    .do-hero .do-finder__go.is-empty {
        background: rgba(255, 255, 255, .2);
        color: #fff;
        box-shadow: none;
    }

    /* listes ouvertes : plus larges que la colonne, plus hautes */
    .dovehicle-homefilter .dov-search-select__panel {
        min-width: 320px;
    }

    .dovehicle-homefilter .dov-search-select__list {
        max-height: min(420px, 56vh);
    }
}

/* petits portables : titre et onglets plus serrés, barre plus compacte */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .do-hero .do-finder {
        padding: 22px 22px 18px;
    }

    .do-hero .do-finder__head {
        padding-right: 300px;
    }

    .do-hero .do-finder #dovehicle_filters .dov-universe {
        width: 280px;
    }

    .do-hero .do-finder .facet-title {
        left: 16px;
    }

    .do-hero .do-finder .dov-search-select__control {
        padding-left: 16px !important;
        padding-right: 34px !important;
        font-size: 14px !important;
    }

    .do-hero .do-finder__go {
        padding: 0 18px;
        font-size: 15px;
    }

    .dovehicle-homefilter .facet-title {
        letter-spacing: .03em;
    }

    /* « Réinitialiser » réduit à sa croix (le texte reste lu par les lecteurs d'écran) */
    .dovehicle-homefilter .dovehicle-reset-filters.is-visible {
        width: 40px;
        padding: 0 !important;
        font-size: 0 !important;
        gap: 0;
    }

    .do-hero__stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .do-hero__stats li {
        padding: 0 14px;
    }

    .do-hero__stats strong {
        font-size: 19px;
    }
}

/* Listes du sélecteur (dovehicle). Le module anime l'entrée du widget (animation « both ») et pose
   transform: translate(0) sur le conteneur des listes : ces transform restent appliqués et font des
   deux éléments le repère des position: fixed, ce qui casse le panneau fixe ouvert en bas d'écran
   sous 576 px (la carte n'a plus de backdrop-filter pour la même raison). */
#dovehicle_filters,
#dovehicle_filters .do-vehicle-facets-wrapper {
    transform: none !important;
}

/* une animation de transform restée « en effet » (remplissage both) suffit à faire du bloc le repère
   des position: fixed : le fondu d'entrée garde son début mais ne persiste plus une fois fini */
#dovehicle_filters {
    animation-fill-mode: backwards !important;
}

/* liste ouverte : le contenu du hero passe devant ce qui suit (vignettes produit et leurs pastilles de prix,
   z-index 2 : elles recouvraient le panneau), mais reste sous l'en-tête collant (z-index 100) */
.do-hero__inner:has(.dov-search-select.open) {
    z-index: 50;
}

@media (max-width: 575px) {

    /* sous 576 px : son voile et son panneau (tiroir fixe) passent aussi devant l'en-tête collant */
    .do-hero__inner:has(.dov-search-select.open) {
        z-index: 1100;
    }
}

/* ---------------------------------------------------------------------
   Accueil — filtrage véhicule en cours (classe html.dov-filtering posée par dovehicle)
   Comme sur dev610 : le hero se réduit au sélecteur et les résultats suivent
   directement ; le reste de l'accueil revient à la réinitialisation.
   --------------------------------------------------------------------- */
html.dov-filtering body#index .do-hero__head,
html.dov-filtering body#index .do-slider,
html.dov-filtering body#index .do-finder__foot,
html.dov-filtering body#index .do-trust,
html.dov-filtering body#index .page-home>.do-container>:not(#dovehicle-home-results):not(#dovehicle-bestsellers-block):not(#dovehicle-specials-block) {
    display: none !important;
}

/* les rayons d'origine restent visibles tant que dovehicle n'a pas créé ses résultats (il les masque alors) */
html.dov-filtering body#index .page-home>.do-container>#dovehicle-bestsellers-block {
    padding-top: clamp(28px, 3.6vw, 48px);
}

html.dov-filtering body#index .do-hero__inner {
    padding-top: clamp(16px, 2.4vw, 32px);
    padding-bottom: clamp(16px, 2.4vw, 32px);
}

html.dov-filtering body#index .do-hero__grid {
    grid-template-columns: minmax(0, 1fr);
}

html.dov-filtering body#index #dovehicle-home-results {
    padding-top: 0;
}

html.dov-filtering body#index #dovehicle-home-results>.do-section:first-child {
    padding-top: clamp(28px, 3.6vw, 48px);
}

/* ---------------------------------------------------------------------
   Accueil — réassurance
   --------------------------------------------------------------------- */
.do-trust {
    position: relative;
    z-index: 0;
    margin-top: -56px;
}

.do-trust__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 8px;
    list-style: none;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-2);
}

.do-trust__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
}

.do-trust__item+.do-trust__item {
    border-left: 1px solid var(--do-line);
}

.do-trust__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 14px;
    background: var(--do-accent-soft);
    color: #c46f00;
}

.do-trust__icon .do-icon {
    width: 22px;
    height: 22px;
}

.do-trust__item strong {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
}

.do-trust__item span {
    display: block;
    color: var(--do-muted);
    font-size: 13px;
    line-height: 1.35;
}

/* ---------------------------------------------------------------------
   Accueil — pièces auto et moto par marque (2026-11-04, à la place des univers)
   _partials/do/home-vehicle-brands.tpl : onglets Auto / Moto (.do-seg), une carte par marque (.do-vbrand :
   toute la carte mène à la marque, ses trois modèles les plus équipés passent au-dessus avec leur barre),
   pastilles des autres marques. Mobile : les cartes défilent en rangée.
   --------------------------------------------------------------------- */
.do-vbrands .do-section__head {
    flex-wrap: wrap;
}

/* commande segmentée (onglets) */
.do-seg {
    display: inline-flex;
    flex: none;
    gap: 4px;
    padding: 4px;
    border-radius: var(--do-pill);
    background: rgba(10, 10, 20, .06);
}

.do-seg__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: var(--do-pill);
    background: transparent;
    color: var(--do-muted);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s var(--do-ease), color .2s var(--do-ease), box-shadow .2s var(--do-ease);
}

.do-seg__tab:hover {
    color: var(--do-ink);
}

.do-seg__tab.is-active {
    background: var(--do-surface);
    color: var(--do-ink);
    box-shadow: var(--do-shadow-1), 0 0 0 1px var(--do-line);
}

.do-seg__tab.is-active .do-icon {
    color: var(--do-accent);
}

.do-seg__tab:focus-visible {
    outline: 0;
    box-shadow: var(--do-ring);
}

/* cartes */
.do-vbrands__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.do-vbrand {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 22px 22px 12px;
    overflow: hidden;
    border-radius: var(--do-r-lg);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
    isolation: isolate;
    transition: transform .35s var(--do-ease), box-shadow .35s var(--do-ease);
}

/* logo et flèche en haut, puis le nom (toute la largeur) et le nombre de pièces */
.do-vbrand__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "logo go"
        "name name"
        "count count";
    align-items: center;
    gap: 6px 12px;
    color: var(--do-ink);
}

.do-vbrand__main:hover,
.do-vbrand__main:focus {
    color: var(--do-ink);
}

/* lien étiré : toute la carte mène à la marque */
.do-vbrand__main::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
}

.do-vbrand__main:focus-visible {
    outline: 0;
}

.do-vbrand__main:focus-visible::after {
    box-shadow: inset 0 0 0 3px rgba(255, 149, 0, .55);
}

/* logo monochrome (module dovehicle, views/img/brands/) : taille ajustée à son format par le module */
.do-vbrand__logo {
    grid-area: logo;
    display: flex;
    align-items: center;
    height: 38px;
    margin-bottom: 8px;
}

.do-vbrand__logo img {
    display: block;
    max-width: none;
    opacity: .88;
    transition: transform .35s var(--do-ease), opacity .35s var(--do-ease);
}

/* marque sans logo : ses initiales dans un cercle */
.do-vbrand__initials {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1.5px currentColor;
    font-family: var(--do-display);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    opacity: .88;
}

.do-vbrand__name {
    grid-area: name;
    font-family: var(--do-display);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.do-vbrand__count {
    grid-area: count;
    color: var(--do-muted);
    font-size: 13px;
}

.do-vbrand__count strong {
    color: var(--do-ink);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.do-vbrand__go {
    grid-area: go;
    align-self: start;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: var(--do-pill);
    background: var(--do-surface-2);
    box-shadow: inset 0 0 0 1px var(--do-line);
    transition: background-color .2s var(--do-ease), color .2s var(--do-ease), box-shadow .2s var(--do-ease);
}

.do-vbrand__go .do-icon {
    width: 16px;
    height: 16px;
    transition: transform .2s var(--do-ease);
}

.do-vbrand__caption {
    margin: 16px 0 2px;
    padding-top: 14px;
    border-top: 1px solid var(--do-line);
    color: var(--do-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* modèles : au-dessus du lien étiré */
.do-vbrand__models {
    position: relative;
    z-index: 2;
    margin: 0 -10px;
    padding: 0;
    list-style: none;
}

.do-vbrand__model {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 6px 12px;
    padding: 8px 10px 10px;
    border-radius: var(--do-r-sm);
    color: var(--do-ink-2);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    transition: background-color .2s var(--do-ease), color .2s var(--do-ease);
}

.do-vbrand__model:focus-visible {
    outline: 0;
    box-shadow: var(--do-ring);
}

.do-vbrand__model-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.do-vbrand__model-count {
    color: var(--do-muted);
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.do-vbrand__bar {
    position: relative;
    grid-column: 1 / -1;
    height: 4px;
    overflow: hidden;
    border-radius: 4px;
    background: rgba(10, 10, 20, .06);
}

/* longueur : --w, posée sur le lien du modèle (pct du module) */
.do-vbrand__bar::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--w, 0%);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--do-accent), var(--do-accent-hover));
    transform-origin: left center;
}

@media (hover: hover) {
    .do-vbrand:hover {
        transform: translateY(-3px);
        box-shadow: var(--do-shadow-2);
    }

    .do-vbrand:hover .do-vbrand__go {
        background: var(--do-ink);
        color: #fff;
        box-shadow: none;
    }

    .do-vbrand:hover .do-vbrand__go .do-icon {
        transform: translateX(2px);
    }

    .do-vbrand:hover .do-vbrand__logo img {
        opacity: 1;
        transform: scale(1.06);
    }

    .do-vbrand__model:hover {
        background: var(--do-bg);
        color: var(--do-ink);
    }
}

/* la marque la mieux couverte de l'onglet : carmin uni, comme la carte « Trouver ma pièce » (contraste du texte
   blanc ≥ 4,5:1) */
.do-vbrand:first-child {
    background: var(--do-red-deep);
    box-shadow: var(--do-shadow-2);
    color: #fff;
}

.do-vbrand:first-child .do-vbrand__main,
.do-vbrand:first-child .do-vbrand__main:hover,
.do-vbrand:first-child .do-vbrand__main:focus,
.do-vbrand:first-child .do-vbrand__count strong,
.do-vbrand:first-child .do-vbrand__model {
    color: #fff;
}

.do-vbrand:first-child .do-vbrand__count,
.do-vbrand:first-child .do-vbrand__model-count {
    color: rgba(255, 255, 255, .86);
}

.do-vbrand:first-child .do-vbrand__caption {
    border-top-color: rgba(255, 255, 255, .2);
    color: rgba(255, 255, 255, .82);
}

.do-vbrand:first-child .do-vbrand__logo img {
    filter: brightness(0) invert(1);
    opacity: 1;
}

.do-vbrand:first-child .do-vbrand__go {
    background: rgba(255, 255, 255, .14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
}

.do-vbrand:first-child .do-vbrand__bar {
    background: rgba(255, 255, 255, .22);
}

.do-vbrand:first-child .do-vbrand__bar::before {
    background: #fff;
}

.do-vbrand:first-child .do-vbrand__main:focus-visible::after,
.do-vbrand:first-child .do-vbrand__model:focus-visible {
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .75);
}

.do-vbrand.do-spot:first-child::before {
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .12), transparent 45%);
}

@media (hover: hover) {
    .do-vbrand:first-child:hover .do-vbrand__go {
        background: #fff;
        color: var(--do-red-deep);
    }

    .do-vbrand:first-child .do-vbrand__model:hover {
        background: rgba(255, 255, 255, .12);
        color: #fff;
    }
}

/* barres : elles se remplissent quand le bloc apparaît et à chaque changement d'onglet (driveonly.js pose is-on) */
@media (prefers-reduced-motion: no-preference) {
    .js-do .do-vbrand__bar::before {
        transform: scaleX(0);
        transition: transform .9s var(--do-ease);
    }

    .js-do .do-vbrands.is-in .do-vbrands__panel.is-on .do-vbrand__bar::before {
        transform: none;
    }

    .js-do .do-vbrand__models li:nth-child(2) .do-vbrand__bar::before {
        transition-delay: .08s;
    }

    .js-do .do-vbrand__models li:nth-child(3) .do-vbrand__bar::before {
        transition-delay: .16s;
    }
}

/* autres marques */
.do-vbrands__more {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 20px;
}

.do-vbrands__more-label {
    margin: 0;
    color: var(--do-muted);
    font-size: 13px;
    font-weight: 600;
}

.do-vbrands__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.do-vbrands__all {
    border-style: dashed;
    color: var(--do-ink);
    font-weight: 600;
}

.do-vbrands__all .do-icon {
    width: 14px;
    height: 14px;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .do-vbrand {
        padding: 18px 18px 10px;
    }

    .do-vbrand__name {
        font-size: 22px;
    }

    .do-vbrand__model {
        font-size: 13px;
    }
}

/* tablette et mobile : une rangée qui défile, la carte suivante dépasse (comme les rayons) */
@media (max-width: 991.98px) {
    .do-vbrands__grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 40%;
        margin: -8px calc(var(--do-gutter) * -1) 0;
        padding: 8px var(--do-gutter) 16px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 var(--do-gutter);
        scrollbar-width: none;
    }

    .do-vbrands__grid::-webkit-scrollbar {
        display: none;
    }

    .do-vbrand {
        scroll-snap-align: start;
    }

    .do-vbrands__more {
        margin-top: 8px;
    }
}

@media (max-width: 767.98px) {
    .do-seg {
        width: 100%;
    }

    .do-seg__tab {
        flex: 1 1 0;
        min-height: 44px;
    }

    .do-vbrands__grid {
        grid-auto-columns: 80%;
    }

    .do-vbrand__model {
        min-height: 44px;
    }

    /* pastilles : une seule ligne qui défile */
    .do-vbrands__more {
        display: block;
    }

    .do-vbrands__more-label {
        margin-bottom: 8px;
    }

    .do-vbrands__chips {
        flex-wrap: nowrap;
        margin: 0 calc(var(--do-gutter) * -1);
        padding: 0 var(--do-gutter) 4px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
    }

    .do-vbrands__chips::-webkit-scrollbar {
        display: none;
    }

    .do-vbrands__chips>li {
        flex: none;
    }
}

/* effet « spotlight » au survol (position fournie par driveonly.js) */
.do-spot::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 149, 0, .14), transparent 45%);
    transition: opacity .3s;
}

.do-spot:hover::before {
    opacity: 1;
}

/* ---------------------------------------------------------------------
   Carte produit (miniature)
   --------------------------------------------------------------------- */
.do-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    max-width: none !important;
    float: none !important;
    overflow: hidden;
    border-radius: var(--do-r-lg);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1), 0 0 0 1px var(--do-line) inset;
    text-align: left;
    transition: transform .3s var(--do-ease), box-shadow .3s var(--do-ease);
}

.do-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--do-shadow-2), 0 0 0 1px var(--do-line) inset;
}

/* Visuel « studio » (2026-10-16). Les photos produit sont presque toujours en paysage, posées par PrestaShop
   au milieu d'une toile portrait blanche (370 × 480) : en « contain » dans un carré, la photo n'en occupait
   qu'une bande étroite. En « cover », le carré garde le centre de la toile (les 11,5 % rognés en haut et en bas
   sont blancs sur ~90 % d'un échantillon de 160 produits ; les photos carrées y tiennent pile). Fond gris clair
   et mode « produit » (multiply) : le blanc des photos se fond dans le fond, toutes les vignettes ont le même socle. */
.do-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    margin: 8px 8px 0;
    overflow: hidden;
    border-radius: 14px;
    background: var(--do-studio);
}

.do-card__img {
    display: block;
    width: 100%;
    height: 100%;
}

.do-card__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    transition: opacity .35s var(--do-ease), transform .5s var(--do-ease);
}

.do-card__img .do-card__alt {
    position: absolute;
    inset: 0;
    opacity: 0;
}

@media (hover: hover) {
    .do-card:hover .do-card__img .do-card__alt {
        opacity: 1;
    }

    .do-card:hover .do-card__img .do-card__main:not(:only-child) {
        opacity: 0;
    }

    .do-card:hover .do-card__img img:only-child {
        transform: scale(1.04);
    }
}

.do-card__flags {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.do-flag {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 9px;
    border-radius: var(--do-pill);
    background: var(--do-ink);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .01em;
}

.do-flag--sale {
    background: var(--do-red);
}

.do-flag--new {
    background: var(--do-accent);
    color: var(--do-accent-ink);
}

.do-card__tools {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.do-card__tools .wishlist-button-add,
.do-card__tools .do-quick {
    display: grid !important;
    place-items: center;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: var(--do-pill) !important;
    background: rgba(255, 255, 255, .9) !important;
    box-shadow: 0 1px 3px rgba(10, 10, 20, .12) !important;
    color: var(--do-ink) !important;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.do-card__tools .do-quick {
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .2s, transform .2s;
}

.do-card:hover .do-card__tools .do-quick,
.do-card__tools .do-quick:focus-visible {
    opacity: 1;
    transform: none;
}

.do-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px 16px;
}

.do-card__brand {
    margin: 0;
    color: var(--do-muted);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.do-card__title {
    display: -webkit-box;
    margin: 0 !important;
    overflow: hidden;
    font-family: var(--do-font) !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    line-height: 1.38 !important;
    text-align: left !important;
    text-transform: none !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.do-card__title a {
    color: var(--do-ink) !important;
}

.do-card__title a::after {
    /* toute la carte est cliquable, sans dupliquer les liens */
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.do-card__stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 2px 0 0;
    color: var(--do-muted);
    font-size: 12.5px;
}

.do-card__stock::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--do-green);
    box-shadow: 0 0 0 3px var(--do-green-soft);
}

.do-card__stock.is-order::before {
    background: var(--do-accent);
    box-shadow: 0 0 0 3px var(--do-accent-soft);
}

.do-card__foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
}

.do-card__price {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.15;
}

.do-card__price .price {
    color: var(--do-ink);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}

.do-card__price.is-sale .price {
    color: var(--do-red);
}

.do-card__price .regular-price {
    color: #9a9aa2;
    font-size: 13px;
    font-weight: 500;
    text-decoration: line-through;
}

.do-card__price .do-ttc {
    color: var(--do-muted);
    font-size: 11px;
    font-weight: 600;
}

.do-card__add {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: var(--do-pill);
    background: var(--do-ink);
    color: #fff;
    cursor: pointer;
    transition: background-color .2s, transform .15s;
}

.do-card__add:hover {
    background: var(--do-accent);
    color: var(--do-accent-ink);
}

.do-card__add:active {
    transform: scale(.94);
}

.do-card__add.disabled,
.do-card__add[disabled] {
    background: #e2e2e7;
    color: #9a9aa2;
    cursor: not-allowed;
}

.do-card form {
    margin: 0;
}

.do-card .variant-links,
.do-card .product-list-reviews,
.do-card .comments_note {
    display: none !important;
}

/* grilles produits (listings, recherche…) */
#products .products,
#js-product-list .products,
.catalog-products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin: 0 !important;
}

#products .products::before,
#products .products::after,
.catalog-products::before,
.catalog-products::after {
    display: none !important;
}

/* ---------------------------------------------------------------------
   Rayons (étagères défilantes façon App Store)
   --------------------------------------------------------------------- */
.do-shelf__nav {
    display: flex;
    gap: 8px;
}

.do-shelf__nav button {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--do-line-strong);
    border-radius: var(--do-pill);
    background: var(--do-surface);
    color: var(--do-ink);
    cursor: pointer;
    transition: background-color .2s, opacity .2s;
}

.do-shelf__nav button:hover {
    background: var(--do-ink);
    color: #fff;
}

.do-shelf__nav button[disabled] {
    opacity: .35;
    pointer-events: none;
}

.do-shelf.is-static .do-shelf__nav {
    display: none;
}

.do-shelf__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * 16px) / 4);
    gap: 16px;
    margin: -12px calc(var(--do-gutter) * -1) 0;
    padding: 12px var(--do-gutter) 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--do-gutter);
    scrollbar-width: none;
}

.do-shelf__track::-webkit-scrollbar {
    display: none;
}

.do-shelf__track>* {
    scroll-snap-align: start;
}

/* résultats du filtre véhicule sur l'accueil (injectés par dovehicle) */
#dovehicle-home-results {
    padding-top: var(--do-section);
}

#dovehicle-home-results .products-list,
#dovehicle-home-results .products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

/* ---------------------------------------------------------------------
   Accueil — « Comment ça marche » (trois étapes illustrées)
   Photos libres de droits en WebP (deux tailles, srcset) : assets/img/do/photos/,
   sources et auteurs dans assets/img/do/photos/CREDITS.md
   --------------------------------------------------------------------- */
.do-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.do-step {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
}

.do-step__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--do-surface-2);
}

.do-step__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--do-ease);
}

.do-step:hover .do-step__media img {
    transform: scale(1.04);
}

.do-step__body {
    position: relative;
    padding: 26px 24px 24px;
}

/* numéro posé à cheval sur la photo */
.do-step__num {
    position: absolute;
    top: -15px;
    left: 24px;
    display: inline-grid;
    place-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: var(--do-pill);
    background: var(--do-dark);
    box-shadow: 0 0 0 4px var(--do-surface);
    color: #fff;
    font-family: var(--do-display);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    font-variant-numeric: tabular-nums;
}

.do-step__title {
    margin: 0 0 6px;
    font-family: var(--do-display);
    font-size: var(--do-fs-h3);
    font-weight: 800;
    letter-spacing: -.01em;
}

.do-step__text {
    margin: 0;
    color: var(--do-muted);
    font-size: 14px;
}

/* « Comment ça marche » en lignes (photo à gauche) sous 768 px */
@media (max-width: 767.98px) {
    .do-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .do-step {
        flex-direction: row;
        border-radius: var(--do-r-lg);
    }

    .do-step__media {
        flex: 0 0 38%;
        aspect-ratio: auto;
        min-height: 128px;
    }

    .do-step__body {
        align-self: center;
        padding: 16px 18px;
    }

    .do-step__num {
        position: static;
        height: 24px;
        margin-bottom: 8px;
        padding: 0 10px;
        box-shadow: none;
        font-size: 11px;
    }

    .do-step__title {
        font-size: 16px;
    }

    .do-step__text {
        font-size: 13px;
    }
}

@media (max-width: 575.98px) {
    .do-step__media {
        flex-basis: 120px;
    }
}

/* ---------------------------------------------------------------------
   Accueil — marques
   --------------------------------------------------------------------- */
.do-brands {
    overflow: hidden;
    padding: 8px 0;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.do-brands__track {
    display: flex;
    width: max-content;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (prefers-reduced-motion: no-preference) {
    .do-brands__track {
        animation: do-marquee 38s linear infinite;
    }

    .do-brands:hover .do-brands__track {
        animation-play-state: paused;
    }
}

@keyframes do-marquee {
    to {
        transform: translateX(-50%);
    }
}

.do-brands__item a {
    display: grid;
    place-items: center;
    width: 220px;
    height: 110px;
    padding: 18px 30px;
}

.do-brands__item img {
    max-width: 100%;
    max-height: 64px;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: grayscale(1);
    opacity: .7;
    transition: filter .3s, opacity .3s;
}

.do-brands__item a:hover img,
.do-brands__item a:focus-visible img {
    filter: none;
    opacity: 1;
}

/* ---------------------------------------------------------------------
   Accueil — bandeau conseil (SAV)
   --------------------------------------------------------------------- */
.do-help {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
    padding: clamp(28px, 4vw, 48px);
    overflow: hidden;
    border-radius: var(--do-r-xl);
    background: var(--do-dark);
    color: #fff;
    isolation: isolate;
}

.do-help::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -120px;
    bottom: -220px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 149, 0, .35), transparent 70%);
}

.do-help h2 {
    margin: 0;
    color: #fff;
    font-family: var(--do-display);
    font-size: var(--do-fs-h2);
    font-weight: 800;
    letter-spacing: -.02em;
}

.do-help p {
    max-width: 620px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .7);
}

.do-help__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------------------------------------------------------------------
   Accueil — texte de présentation (ps_customtext)
   --------------------------------------------------------------------- */
.do-about {
    padding: clamp(24px, 4vw, 40px);
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
    color: var(--do-ink-2);
    text-align: left;
}

.do-about #custom-text {
    margin: 0;
    padding: 0;
    background: transparent;
    text-align: left;
}

.do-about #custom-text h1,
.do-about #custom-text h2,
.do-about #custom-text h3 {
    margin: 0 0 10px;
    font-family: var(--do-display);
    font-size: 22px;
    font-weight: 800;
    text-align: left;
}

.do-about #custom-text p {
    max-width: 880px;
    margin: 0 0 8px;
    color: var(--do-muted);
    font-size: 15px;
    text-align: left;
}

/* Texte « Notre histoire » (2026-10-25, contenu en base : ps_customtext) : récit à gauche, quatre repères
   chiffrés à droite ; l'un sous l'autre sur mobile. Sans ces classes, le texte garde la mise en page simple. */
.do-about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
}

.do-about #custom-text .do-about__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: var(--do-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.do-about #custom-text .do-about__eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--do-accent);
}

.do-about__story h2 {
    font-size: var(--do-fs-h2) !important;
    text-wrap: balance;
    letter-spacing: -.02em;
    line-height: 1.1;
    margin-bottom: 14px !important;
}

.do-about #custom-text .do-about__story p:not(.do-about__eyebrow) {
    margin-bottom: 12px;
    color: var(--do-ink-2);
    font-size: 15.5px;
    line-height: 1.65;
}

.do-about__story a {
    color: var(--do-ink);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--do-accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.do-about__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.do-about__facts li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 112px;
    padding: 18px;
    border-radius: var(--do-r-lg);
    background: var(--do-surface-2);
    box-shadow: inset 0 0 0 1px var(--do-line);
}

.do-about__facts strong {
    color: var(--do-red-deep);
    font-family: var(--do-display);
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1;
}

.do-about__facts span {
    color: var(--do-muted);
    font-size: 13.5px;
    line-height: 1.4;
}

@media (max-width: 991.98px) {
    .do-about__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 575.98px) {
    .do-about__facts li {
        min-height: 0;
        padding: 14px;
    }
}

/* ---------------------------------------------------------------------
   Listings (catégories, marques, recherche, promos…)
   --------------------------------------------------------------------- */
#left-column .block-categories,
#left-column .column-block,
#left-column #search_filters,
#left-column .block {
    margin: 0 0 16px;
    padding: 18px;
    border: 0;
    border-radius: var(--do-r-lg);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
}

#left-column .h6,
#left-column .block-categories .h6,
#left-column .text-uppercase.h6 {
    margin: 0 0 10px;
    color: var(--do-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

#left-column .category-sub-menu li a,
#left-column .block-categories a {
    color: var(--do-ink-2);
    font-size: 14px;
}

#left-column .block-categories a:hover {
    color: var(--do-ink);
}

.do-listing-head {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    margin: 8px 0 24px;
    padding: clamp(22px, 3vw, 36px);
    overflow: hidden;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
}

.do-listing-head::before,
.do-listing-head::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* même quadrillage technique que le hero de l'accueil (.do-hero::before), estompé vers la gauche :
   le texte reste sur fond blanc, le motif signe le côté droit de la carte */
.do-listing-head::before {
    background-image:
        linear-gradient(rgba(10, 10, 20, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 10, 20, .05) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: right top;
    -webkit-mask-image: radial-gradient(ellipse 55% 120% at 100% 0%, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse 55% 120% at 100% 0%, #000 20%, transparent 70%);
}

.do-listing-head::after {
    background: radial-gradient(circle 280px at 92% 10%, rgba(255, 149, 0, .13), rgba(229, 38, 46, .05) 55%, transparent 75%);
}

.do-listing-head>* {
    position: relative;
    z-index: 1;
}

.do-listing-head h1 {
    margin: 0;
    font-family: var(--do-display);
    font-size: var(--do-fs-h1);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.05;
}

.do-listing-head__count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    padding: 5px 12px 5px 10px;
    border-radius: var(--do-pill);
    background: var(--do-bg);
    color: var(--do-ink-2);
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.do-listing-head__count::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--do-green);
    box-shadow: 0 0 0 3px var(--do-green-soft);
}

.do-listing-head__desc {
    position: relative;
    max-width: 780px;
    max-height: 4.8em;
    margin-top: 14px;
    overflow: hidden;
    color: var(--do-muted);
    font-size: 14.5px;
    line-height: 1.6;
    transition: max-height .4s var(--do-ease);
}

.do-listing-head__desc::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2.4em;
    background: linear-gradient(transparent, #fff);
}

.do-listing-head__desc.is-open {
    max-height: 2000px;
}

.do-listing-head__desc.is-open::after {
    display: none;
}

.do-listing-head__desc p,
.do-listing-head__desc strong {
    color: inherit;
}

.do-listing-head__more {
    margin-top: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--do-ink);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
}

.do-listing-head__img {
    width: clamp(140px, 22vw, 280px);
    height: clamp(120px, 16vw, 200px);
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* la tête de listing générique (h2/h1 du thème) laissée vide sur les catégories */
#main .page-heading.product-listing.catalog-title {
    display: none;
}

.do-subcats {
    display: flex;
    gap: 8px;
    margin: 0 0 20px;
    padding: 2px 2px 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.do-subcats::-webkit-scrollbar {
    display: none;
}

.do-subcats .do-chip {
    min-height: 40px;
    padding: 0 16px;
    font-size: 14px;
}

.do-subcats .do-chip img {
    width: 26px;
    height: 26px;
    margin-left: -8px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
}

.subcategories {
    display: none;
}

.products-selection {
    margin: 0 0 16px;
    padding: 8px 8px 8px 16px;
    border-radius: var(--do-r-lg);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
}

.products-selection .sort-by-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.products-selection .sort-by-row::before,
.products-selection .sort-by-row::after {
    display: none;
}

.products-selection .display-view label,
.products-selection .sort-by,
.products-selection .sort-by-row label,
.products-selection .pagination-label {
    color: var(--do-muted);
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
}

.products-selection .products-sort-order .select-title,
.products-selection .products-sort-order .btn-unstyle {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--do-line-strong);
    border-radius: var(--do-pill);
    background: var(--do-surface);
    color: var(--do-ink);
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
}

.products-selection .dropdown-menu {
    padding: 6px;
    border: 1px solid var(--do-line);
    border-radius: var(--do-r);
    box-shadow: var(--do-shadow-3);
}

.products-selection .dropdown-menu .select-list {
    border-radius: 10px;
    font-size: 14px;
}

.products-selection .dropdown-menu .select-list:hover,
.products-selection .dropdown-menu .select-list.current {
    background: var(--do-bg);
    color: var(--do-ink);
}

.products-selection .pagination {
    margin-left: auto;
}

.pagination .page-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.pagination .page-list li a,
.pagination .page-list li span {
    display: inline-grid;
    place-items: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 0;
    border-radius: var(--do-pill);
    background: transparent;
    color: var(--do-ink-2);
    font-size: 14px;
    font-weight: 600;
}

.pagination .page-list li a:hover {
    background: var(--do-bg);
    color: var(--do-ink);
}

.pagination .page-list li.current a,
.pagination .page-list li.current span {
    background: var(--do-ink);
    color: #fff;
}

.do-filter-btn {
    display: none;
}

#products .products-selection+.hidden-sm-down:empty {
    display: none;
}

/* ---------------------------------------------------------------------
   Fiche produit
   --------------------------------------------------------------------- */
body#product #main>.row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(20px, 3vw, 48px);
    margin: 8px 0 0;
}

body#product #main>.row::before,
body#product #main>.row::after {
    display: none;
}

body#product #main>.row>[class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0;
    flex: none;
}

body#product .l-column .page-content {
    position: sticky;
    top: calc(var(--do-header-h) + 70px);
    margin: 0;
    padding: 16px;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
}

/* galerie : même socle « studio » que les vignettes (voir .do-card__media), image principale carrée ;
   l'agrandissement (modale) montre toujours l'image entière */
body#product .product-cover {
    overflow: hidden;
    border: 0;
    border-radius: var(--do-r-lg);
    background: var(--do-studio);
}

body#product .product-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    mix-blend-mode: multiply;
}

body#product .product-images>li.thumb-container .thumb,
body#product .js-qv-product-images img {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    background: var(--do-studio);
    object-fit: cover;
    mix-blend-mode: multiply;
}

body#product .r-column {
    padding: clamp(20px, 3vw, 36px) !important;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
    align-self: start;
}

body#product .r-column .h1,
body#product .r-column h1 {
    margin: 0 0 12px;
    font-family: var(--do-display);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.12;
    text-transform: none;
}

.do-pdp-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    color: var(--do-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.do-pdp-brand a {
    color: var(--do-ink);
}

body#product .product-manufacturer {
    display: none;
}

body#product .product-prices {
    margin: 18px 0 6px;
    padding: 18px 0 0;
    border-top: 1px solid var(--do-line);
}

body#product .product-prices .current-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
}

body#product .product-prices .price,
body#product .product-prices .current-price span:first-child {
    color: var(--do-ink);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
}

body#product .product-prices .has-discount .price {
    color: var(--do-red);
}

body#product .product-prices .discount {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border-radius: var(--do-pill);
    background: var(--do-red-soft);
    color: var(--do-red);
    font-size: 13px;
    font-weight: 700;
}

body#product .product-discount .regular-price {
    color: #9a9aa2;
    font-size: 16px;
    text-decoration: line-through;
}

body#product .tax-shipping-delivery-label {
    color: var(--do-muted);
    font-size: 13px;
}

body#product .product-add-to-cart {
    margin: 18px 0 0;
}

body#product .product-add-to-cart .control-label {
    display: none;
}

body#product .product-quantity {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
}

body#product .product-quantity .qty {
    width: 112px;
    margin: 0;
}

body#product .product-quantity .input-group,
body#product .product-quantity .bootstrap-touchspin {
    height: 54px;
}

body#product .product-quantity #quantity_wanted {
    height: 54px;
    border-radius: var(--do-pill);
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}

body#product .product-quantity .bootstrap-touchspin .btn-touchspin {
    border-radius: 0;
}

body#product .product-quantity .add {
    flex: 1;
    min-width: 200px;
    margin: 0;
}

body#product .product-quantity .add-to-cart {
    width: 100%;
    min-height: 54px;
    font-size: 16px;
}

body#product .product-quantity .add-to-cart::before {
    content: "";
    width: 20px;
    height: 20px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h13l-1.5 8.5a2 2 0 0 1-2 1.5H9a2 2 0 0 1-2-1.6L5 4H3'/%3E%3Ccircle cx='9.5' cy='20' r='1.2'/%3E%3Ccircle cx='16.5' cy='20' r='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h13l-1.5 8.5a2 2 0 0 1-2 1.5H9a2 2 0 0 1-2-1.6L5 4H3'/%3E%3Ccircle cx='9.5' cy='20' r='1.2'/%3E%3Ccircle cx='16.5' cy='20' r='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
}

body#product #product-availability {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    color: var(--do-ink-2);
    font-size: 13.5px;
    font-weight: 600;
}

body#product #product-availability .material-icons {
    font-size: 18px;
}

body#product #product-availability .product-available {
    color: var(--do-green);
}

body#product .product-additional-info {
    margin-top: 14px;
}

body#product .social-sharing {
    display: none;
}

body#product .product-description-short {
    margin: 18px 0 0;
    color: var(--do-muted);
    font-size: 14.5px;
}

/* réassurance (blockreassurance) sous le bouton */
body#product #block-reassurance,
body#product .blockreassurance_product,
#block-reassurance {
    margin: 22px 0 0;
    padding: 0;
    border: 0;
}

#block-reassurance ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#block-reassurance li,
#block-reassurance .block-reassurance-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 12px 14px;
    border: 0 !important;
    border-radius: var(--do-r);
    background: var(--do-bg);
    color: var(--do-ink-2);
    font-size: 13.5px;
    font-weight: 600;
    text-transform: none;
}

#block-reassurance li img,
#block-reassurance .block-reassurance-item img {
    width: 26px;
    height: 26px;
    flex: none;
    filter: saturate(.9);
}

#block-reassurance span,
#block-reassurance .h6 {
    margin: 0;
    color: var(--do-ink-2);
    font-size: 13.5px;
    font-weight: 600;
    text-transform: none;
}

/* onglets = contrôle segmenté */
body#product .more-info {
    margin-top: clamp(24px, 4vw, 48px);
    padding: clamp(18px, 3vw, 32px);
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
}

body#product .nav-tabs_alternative {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 2px;
    margin: 0 0 20px;
    padding: 3px;
    border: 0;
    border-radius: 13px;
    background: rgba(118, 118, 128, .12);
}

body#product .nav-tabs_alternative .nav-item {
    margin: 0;
}

body#product .nav-tabs_alternative .nav-link {
    min-height: 36px;
    padding: 8px 16px;
    border: 0 !important;
    border-radius: 10px;
    background: transparent;
    color: var(--do-ink-2);
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
}

body#product .nav-tabs_alternative .nav-link.active,
body#product .nav-tabs_alternative .nav-link:hover {
    background: #fff;
    color: var(--do-ink);
    box-shadow: 0 1px 3px rgba(10, 10, 20, .12);
}

body#product .tab-content,
body#product .tab-pane-inner {
    border: 0 !important;
    padding: 0 !important;
}

body#product .product-description {
    color: var(--do-ink-2);
    font-size: 15px;
    line-height: 1.7;
}

body#product .product-description h1,
body#product .product-description h2,
body#product .product-description h3 {
    margin: 0 0 12px;
    font-family: var(--do-display);
    font-size: 20px;
    font-weight: 800;
    text-transform: none;
}

/* produits associés sous la fiche */
body#product .featured-products,
body#product .product-accessories {
    margin-top: clamp(28px, 5vw, 64px);
}

body#product .featured-products .headline-section,
body#product .featured-products h2 {
    margin: 0 0 20px;
    font-family: var(--do-display);
    font-size: var(--do-fs-h2);
    font-weight: 800;
    letter-spacing: -.02em;
    text-align: left;
}

body#product .featured-products .headline-section::after {
    display: none;
}

/* barre d'achat collante (mobile) */
.do-buybar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 80;
    display: none;
    align-items: center;
    gap: 12px;
    padding: 10px 10px 10px 18px;
    border-radius: var(--do-pill);
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--do-shadow-3), 0 0 0 1px var(--do-line) inset;
    transform: translateY(140%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    transition: transform .35s var(--do-ease);
}

.do-buybar.is-visible {
    transform: none;
}

.do-buybar__price {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.15;
}

.do-buybar__price strong {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.do-buybar__price span {
    overflow: hidden;
    color: var(--do-muted);
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.do-buybar .do-btn {
    margin-left: auto;
}

/* ---------------------------------------------------------------------
   Pages de contenu, compte, contact, erreurs
   --------------------------------------------------------------------- */
body:not(#index):not(#product):not(#checkout):not(#cart) #content,
.page-content.page-cms,
#content.page-cms,
body#my-account #content,
body#authentication #content,
body#password #content,
body#contact #content-wrapper>section,
body#pagenotfound #content,
body#guest-tracking #content,
body#identity #content,
body#addresses #content,
body#history #content,
body#order-detail #content,
body#discount #content,
body#order-slip #content,
body#order-follow #content {
    border: 0;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
}

body.page-cms #content,
body#cms #content {
    padding: clamp(20px, 3vw, 40px);
}

#main .page-header h1,
#main>header h1,
.page-header h1 {
    margin: 8px 0 20px;
    font-family: var(--do-display);
    font-size: var(--do-fs-h1);
    font-weight: 800;
    letter-spacing: -.02em;
    text-transform: none;
}

.rte,
.page-cms {
    color: var(--do-ink-2);
    font-size: 15px;
    line-height: 1.7;
}

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
#footer {
    margin: 0;
    padding: 0;
    background: var(--do-dark);
    color: rgba(255, 255, 255, .7);
}

.do-footer {
    padding-top: clamp(48px, 6vw, 80px);
}

.do-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.3fr);
    gap: 40px;
}

/* blockwishlist rend ici ses points d'ancrage (vides, ses modales sont fixes) : en cases de grille, ils
   ajoutaient quatre rangées vides (≈ 160 px de noir sous les colonnes). Sortis du flux. */
.do-footer__grid>.wishlist-add-to,
.do-footer__grid>.wishlist-delete,
.do-footer__grid>.wishlist-create,
.do-footer__grid>.wishlist-login {
    position: absolute;
}

.do-footer__brand img {
    width: 96px;
    height: auto;
}

.do-footer__brand p {
    max-width: 320px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
}

.do-footer__title,
#footer .do-footer__title {
    margin: 0 0 14px;
    color: #fff;
    font-family: var(--do-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.do-footer__links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.do-footer__links li {
    margin: 0 0 9px;
}

.do-footer__links a,
#footer a {
    color: rgba(255, 255, 255, .66);
    font-size: 14px;
}

.do-footer__links a:hover,
#footer a:hover {
    color: #fff;
}

.do-footer details {
    border: 0;
}

.do-footer summary {
    list-style: none;
    cursor: default;
}

.do-footer summary::-webkit-details-marker {
    display: none;
}

.do-footer__contact {
    display: grid;
    gap: 10px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.do-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.do-footer__contact .do-icon {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--do-accent);
}

/* newsletter (ps_emailsubscription) */
.do-footer .block_newsletter,
.do-footer .email_subscription {
    margin: 0;
    padding: 0;
    background: transparent;
}

.do-footer .block_newsletter form,
.do-footer .email_subscription form {
    position: relative;
}

.do-footer .block_newsletter input[type="email"],
.do-footer .block_newsletter input[type="text"],
.do-footer .email_subscription input[type="email"] {
    width: 100%;
    height: 48px;
    padding: 0 56px 0 18px;
    border: 1px solid var(--do-dark-line);
    border-radius: var(--do-pill);
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.do-footer .block_newsletter input::placeholder {
    color: rgba(255, 255, 255, .45);
}

.do-footer .block_newsletter [type="submit"],
.do-footer .block_newsletter button {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 38px;
    height: 38px;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: var(--do-pill);
    background: var(--do-accent);
    color: var(--do-accent-ink);
}

.do-footer .block_newsletter p,
.do-footer .block_newsletter label,
.do-footer .psgdpr_consent_message,
.do-footer .gdpr_consent {
    color: rgba(255, 255, 255, .55);
    font-size: 12.5px;
    line-height: 1.5;
}

.do-footer__side {
    display: grid;
    align-content: start;
    gap: 26px;
}

.do-footer__contact span p,
.do-footer__contact span {
    margin: 0;
    color: rgba(255, 255, 255, .66);
}

/* newsletter : mise en page de ps_emailsubscription */
.do-footer .block_newsletter .h3 {
    display: block !important;
    margin: 0 0 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
}

.do-footer .block_newsletter .input-wrapper {
    position: relative;
}

.do-footer .block_newsletter .btn-submit {
    display: grid;
    place-items: center;
    font-size: 0 !important;
    box-shadow: none;
}

.do-footer .block_newsletter .btn-submit span {
    display: none;
}

.do-footer .block_newsletter .btn-submit::before {
    content: "";
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.do-footer .block_newsletter form {
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
}

.do-footer .custom-checkbox,
.do-footer .psgdpr_consent_message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.do-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
    padding: 22px 0 28px;
    border-top: 1px solid var(--do-dark-line);
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
}

.do-pay {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.do-pay li {
    display: grid;
    place-items: center;
    height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .85);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .04em;
}

.btn-to-top {
    right: 18px !important;
    bottom: 18px !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: var(--do-pill) !important;
    background: var(--do-ink) !important;
    box-shadow: var(--do-shadow-2) !important;
}

/* ---------------------------------------------------------------------
   Fenêtre « ajouté au panier » (ps_shoppingcart : modules/ps_shoppingcart/modal.tpl)
   Carte centrée sur ordinateur, panneau ouvert par le bas sur mobile
   --------------------------------------------------------------------- */
#blockcart-modal .modal-dialog {
    display: flex;
    align-items: center;
    width: auto;
    max-width: 520px;
    min-height: calc(100% - 3.5rem);
    margin: 1.75rem auto;
}

#blockcart-modal .modal-content {
    width: 100%;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-3);
}

.do-cartmodal__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 18px 0 22px;
}

.do-cartmodal__check {
    display: grid;
    flex: none;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--do-green-soft);
    color: var(--do-green);
}

.do-cartmodal__check .do-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2.4;
}

.do-cartmodal__title {
    flex: 1;
    margin: 0;
    color: var(--do-ink);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.do-cartmodal__close {
    display: grid;
    flex: none;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--do-bg);
    color: var(--do-ink);
    cursor: pointer;
    transition: background-color .2s var(--do-ease);
}

.do-cartmodal__close:hover {
    background: #e8e8ed;
}

.do-cartmodal__close:focus-visible {
    outline: none;
    box-shadow: var(--do-ring);
}

.do-cartmodal__close .do-icon {
    width: 18px;
    height: 18px;
}

.do-cartmodal__product {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
}

.do-cartmodal__img {
    flex: none;
    width: 96px;
    height: 96px;
    padding: 6px;
    border: 1px solid var(--do-line);
    border-radius: var(--do-r);
    background: #fff;
    object-fit: contain;
}

.do-cartmodal__info {
    min-width: 0;
}

.do-cartmodal__name {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--do-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.do-cartmodal__meta {
    margin: 4px 0 0;
    color: var(--do-muted);
    font-size: 13px;
}

.do-cartmodal__price {
    margin: 8px 0 0;
    color: var(--do-ink);
    font-family: var(--do-display);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.do-cartmodal__sum {
    margin: 0 22px;
    padding: 14px 16px;
    border-radius: var(--do-r);
    background: var(--do-bg);
}

.do-cartmodal__sum-title {
    margin: 0 0 6px;
    color: var(--do-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.do-cartmodal__sum dl {
    margin: 0;
}

.do-cartmodal__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
    font-size: 14px;
}

.do-cartmodal__row dt {
    color: var(--do-muted);
    font-weight: 400;
}

.do-cartmodal__row dd {
    margin: 0;
    color: var(--do-ink);
    font-weight: 600;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.do-cartmodal__row--total {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--do-line-strong);
}

.do-cartmodal__row--total dt {
    color: var(--do-ink);
    font-weight: 700;
}

.do-cartmodal__row--total dd {
    font-family: var(--do-display);
    font-size: 18px;
    font-weight: 800;
}

.do-cartmodal__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 18px 22px 22px;
}

.do-cartmodal__actions .do-btn {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
}

@media (max-width: 575.98px) {

    /* panneau ouvert par le bas, façon feuille iOS */
    #blockcart-modal .modal-dialog {
        align-items: flex-end;
        max-width: none;
        min-height: 100%;
        margin: 0;
    }

    #blockcart-modal.fade .modal-dialog {
        transform: translateY(40px);
        transition: transform .3s var(--do-ease);
    }

    #blockcart-modal.show .modal-dialog {
        transform: none;
    }

    #blockcart-modal .modal-content {
        padding-bottom: env(safe-area-inset-bottom);
        border-radius: 24px 24px 0 0;
    }

    .do-cartmodal__head {
        padding: 16px 16px 0 18px;
    }

    .do-cartmodal__product {
        padding: 16px 18px;
    }

    .do-cartmodal__img {
        width: 80px;
        height: 80px;
    }

    .do-cartmodal__sum {
        margin: 0 18px;
    }

    .do-cartmodal__actions {
        grid-template-columns: 1fr;
        padding: 16px 18px 18px;
    }

    /* « Commander » en premier sous le pouce */
    .do-cartmodal__actions .do-btn--ghost {
        order: 2;
    }
}

/* ---------------------------------------------------------------------
   Tablette / mobile
   --------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .do-shelf__track {
        grid-auto-columns: calc((100% - 2 * 16px) / 3.2);
    }

    .do-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    :root {
        --do-header-h: 60px;
        --do-gutter: 16px;
    }

    .do-strip {
        display: none;
    }

    .do-bar__inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 8px;
        min-height: var(--do-header-h);
    }

    .do-logo img {
        height: 44px;
    }

    .do-search {
        grid-column: 1 / -1;
        grid-row: 2;
        max-width: none;
        margin-bottom: 10px;
    }

    .do-search form {
        height: 44px;
    }

    .do-search__kbd {
        display: none;
    }

    .do-search__btn {
        display: none;
    }

    .do-actions {
        grid-column: 3;
        justify-self: end;
    }

    .do-action__label {
        display: none;
    }

    .do-actions .do-action {
        width: 44px;
        padding: 0 !important;
        justify-content: center;
    }

    .do-action--cart {
        background: transparent !important;
        color: var(--do-ink) !important;
    }

    .do-action--cart .do-badge-count {
        top: 2px;
        right: 0;
        border-color: #fff;
    }

    body.do-lock {
        overflow: hidden;
    }

    /* accueil */
    .do-hero__inner {
        padding-top: 24px;
    }

    .do-hero__head,
    .do-hero__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .do-hero__head {
        gap: 14px;
        margin-bottom: 22px;
    }

    .do-hero__stats {
        margin-top: 16px;
    }

    /* (2026-10-23) le sélecteur remonte juste sous le titre : il était sous la ligne de flottaison (675 px sur
       un téléphone), après l'accroche et les chiffres, qui passent sous le carrousel */
    .do-hero__inner {
        display: flex;
        flex-direction: column;
    }

    .do-hero__head {
        display: contents;
    }

    .do-hero__title {
        margin-bottom: 20px;
    }

    .do-hero__grid {
        order: 1;
    }

    .do-hero__aside {
        order: 2;
        margin-top: 28px;
    }

    .do-trust__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .do-trust__item+.do-trust__item {
        border-left: 0;
    }

    .do-trust__item:nth-child(even) {
        border-left: 1px solid var(--do-line);
    }

    .do-trust__item:nth-child(n + 3) {
        border-top: 1px solid var(--do-line);
    }

    .do-help {
        grid-template-columns: 1fr;
    }

    /* listings : colonne de gauche en feuille (bottom sheet) */
    .do-filter-btn {
        display: inline-flex;
    }

    body:not(#index):not(#product) #left-column {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 120;
        max-height: 82vh;
        width: 100%;
        max-width: none;
        padding: 12px 16px calc(24px + env(safe-area-inset-bottom));
        overflow-y: auto;
        border-radius: var(--do-r-xl) var(--do-r-xl) 0 0;
        background: var(--do-bg);
        box-shadow: 0 -30px 80px -30px rgba(10, 10, 20, .45);
        transform: translateY(105%);
        transition: transform .35s var(--do-ease);
        visibility: hidden;
    }

    body.do-sheet-open #left-column {
        transform: none !important;
        visibility: visible !important;
    }

    .do-sheet-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0 0 12px;
    }

    .do-sheet-head::before {
        content: "";
        position: absolute;
        top: 8px;
        left: 50%;
        width: 40px;
        height: 5px;
        margin-left: -20px;
        border-radius: 5px;
        background: rgba(10, 10, 20, .18);
    }

    .do-listing-head {
        grid-template-columns: 1fr;
    }

    .do-listing-head__img {
        display: none;
    }

    /* fiche produit */
    body#product #main>.row {
        grid-template-columns: 1fr;
    }

    body#product .l-column .page-content {
        position: static;
    }

    .do-buybar {
        display: flex;
    }

    body#product #wrapper {
        padding-bottom: 110px;
    }

    .do-footer__grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .do-footer__brand {
        margin-bottom: 16px;
    }

    .do-footer details {
        border-bottom: 1px solid var(--do-dark-line);
    }

    .do-footer summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 0;
        cursor: pointer;
    }

    .do-footer summary::after {
        content: "+";
        color: rgba(255, 255, 255, .6);
        font-size: 20px;
        font-weight: 300;
    }

    .do-footer details[open] summary::after {
        content: "−";
    }

    .do-footer summary .do-footer__title {
        margin: 0;
    }

    .do-footer details .do-footer__links {
        padding-bottom: 12px;
    }
}

@media (min-width: 992px) {
    .do-sheet-head {
        display: none;
    }

    .do-footer details>summary {
        pointer-events: none;
    }
}

@media (max-width: 767.98px) {
    :root {
        --do-fs-body: 15px;
    }

    .do-section__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .do-shelf__track {
        grid-auto-columns: 72%;
    }

    .do-trust {
        margin-top: 16px;
    }

    .do-trust__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 16px;
    }

    .do-hero__inner {
        padding-bottom: calc(44px + 24px);
    }

    .do-slider {
        border-radius: var(--do-r-lg);
    }

    .do-slider__bar {
        gap: 10px;
        padding: 6px 8px 6px 14px;
    }

    .do-slider__btn {
        width: 36px;
        height: 36px;
    }

    .do-brands__item a {
        width: 160px;
        height: 90px;
        padding: 14px 20px;
    }

    #products .products,
    #js-product-list .products,
    .catalog-products,
    #dovehicle-home-results .products-list,
    #dovehicle-home-results .products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .do-card__body {
        padding: 10px 12px 12px;
    }

    .do-card__title {
        font-size: 13.5px !important;
    }

    .do-card__price .price {
        font-size: 16px;
    }

    .do-card__add {
        width: 38px;
        height: 38px;
    }

    .do-card__stock {
        font-size: 11.5px;
    }

    .products-selection .display-view {
        display: none !important;
    }

    .products-selection .pagination {
        width: 100%;
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

.do-shelf__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* dans les résultats du filtre véhicule, les étagères deviennent des grilles */
#dovehicle-home-results .do-shelf__track {
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    grid-auto-columns: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
}

#dovehicle-home-results .do-shelf__nav {
    display: none;
}

@media (max-width: 767.98px) {
    #dovehicle-home-results .do-shelf__track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .do-shelf__actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* dovehicle : la liste native est remplacée par un sélecteur avec recherche */
.do-finder .dov-native-select-hidden,
#dovehicle_filters .dov-native-select-hidden {
    display: none !important;
}

/* bouton liste d'envies (blockwishlist) dans la carte produit */
.do-card__wish,
.do-card .do-card__wish .inner {
    display: contents;
}

/* « languette » blanche du thème d'origine (.highlighted-informations::before, 36 × 28 px au-dessus du cœur) :
   invisible sur un visuel blanc, elle se voyait sur le socle gris des vignettes */
.do-card .do-card__wish::before,
.do-card .do-card__wish::after {
    content: none;
    display: none;
}

.do-card__tools .wishlist-button-add {
    cursor: pointer;
}

.do-card__tools .wishlist-button-add i,
.do-card__tools .wishlist-button-add .material-icons {
    font-size: 19px;
    color: var(--do-ink);
}

.do-pdp-brand span {
    color: var(--do-muted);
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: none;
}

/* produits associés sous la fiche : ps_categoryproducts est rendu en étagère (do-shelf) */
.do-pdp-related .featured-products,
.do-pdp-related .product-comments {
    margin-top: clamp(28px, 5vw, 64px);
}

.do-pdp-related .do-section {
    padding-top: clamp(40px, 5vw, 72px);
}

/* ---------------------------------------------------------------------
   Correctifs (passe 2)
   --------------------------------------------------------------------- */
.do-listing-head h1,
.block-category h1 {
    text-transform: none;
}

/* footer : les fenêtres de blockwishlist ne doivent pas occuper de colonne */
.do-footer__grid>[class^="wishlist-"],
.do-footer__grid>[class*=" wishlist-"] {
    grid-column: 1 / -1;
}

@media (min-width: 1200px) {
    .do-footer__side {
        grid-column: 4;
        grid-row: 1;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .do-footer__side {
        grid-column: 2;
        grid-row: 2;
    }
}

/* tri (listings) : libellé + chevron propres */
.products-selection .products-sort-order .select-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-right: 12px;
}

.products-selection .products-sort-order .select-title i,
.products-selection .products-sort-order .select-title .material-icons {
    position: static;
    font-size: 18px;
    line-height: 1;
}

.products-selection .display-view .view-item {
    color: #b4b4bb;
    cursor: pointer;
}

.products-selection .display-view .view-item.active {
    color: var(--do-ink);
}

/* arbre de catégories (colonne gauche) */
#left-column .block-categories .category-sub-menu,
#left-column .block-categories ul {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
}

#left-column .block-categories li {
    border: 0 !important;
}

#left-column .block-categories li a {
    display: block;
    padding: 8px 10px;
    border-radius: 10px;
}

#left-column .block-categories li a:hover {
    background: var(--do-bg);
}

#left-column .block-categories .collapse-icons,
#left-column .block-categories .navbar-toggler {
    color: var(--do-muted);
}

/* fiche produit : image calée en haut */
body#product #main>.row>.l-column {
    align-self: start;
}

/* sélecteur de quantité (TouchSpin) en − [ n ] + */
.bootstrap-touchspin {
    display: inline-flex !important;
    align-items: stretch;
    width: auto !important;
    height: 54px;
    overflow: hidden;
    border: 1px solid var(--do-line-strong);
    border-radius: var(--do-pill);
    background: #fff;
}

.bootstrap-touchspin .input-group-addon {
    display: none !important;
}

.bootstrap-touchspin input.form-control,
.bootstrap-touchspin input[type="number"] {
    width: 48px !important;
    height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    -moz-appearance: textfield;
}

.bootstrap-touchspin input::-webkit-outer-spin-button,
.bootstrap-touchspin input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.bootstrap-touchspin .input-group-btn-vertical {
    display: contents !important;
}

.bootstrap-touchspin .btn-touchspin {
    position: static !important;
    display: grid !important;
    place-items: center;
    width: 42px !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--do-ink) !important;
    font-size: 20px !important;
    font-weight: 500;
    line-height: 1 !important;
}

.bootstrap-touchspin .btn-touchspin:hover {
    background: var(--do-bg) !important;
}

.bootstrap-touchspin .btn-touchspin i {
    display: none !important;
}

.bootstrap-touchspin .bootstrap-touchspin-down {
    order: -1;
}

.bootstrap-touchspin .bootstrap-touchspin-down::before {
    content: "\2212";
}

.bootstrap-touchspin .bootstrap-touchspin-up {
    order: 2;
}

.bootstrap-touchspin .bootstrap-touchspin-up::before {
    content: "+";
}

body#product .product-quantity .qty {
    width: auto;
}

/* bouton liste d'envies à côté du bouton d'achat */
body#product .product-quantity .wishlist-button-add,
body#product .product-actions .wishlist-button-add {
    display: grid !important;
    place-items: center;
    width: 54px !important;
    height: 54px !important;
    margin: 0 !important;
    border: 1px solid var(--do-line-strong) !important;
    border-radius: var(--do-pill) !important;
    background: #fff !important;
    box-shadow: none !important;
    color: var(--do-ink) !important;
}

body#product .wishlist-button-add i {
    color: var(--do-ink) !important;
    font-size: 22px !important;
}

/* réassurance produit (blockreassurance) */
.blockreassurance_product {
    display: grid;
    gap: 8px;
    margin: 22px 0 0;
}

.blockreassurance_product .reass-item,
.blockreassurance_product>div {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.blockreassurance_product .item-link {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 12px 14px !important;
    border: 0 !important;
    border-radius: var(--do-r) !important;
    background: var(--do-bg) !important;
    box-shadow: none !important;
}

.blockreassurance_product .block-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: none;
    margin: 0 !important;
    border-radius: 11px;
    background: var(--do-accent-soft);
}

.blockreassurance_product .block-icon svg,
.blockreassurance_product .block-icon img {
    width: 20px !important;
    height: 20px !important;
}

.blockreassurance_product .block-icon svg path,
.blockreassurance_product .block-icon svg g {
    fill: #c46f00 !important;
}

.blockreassurance_product .block-title,
.blockreassurance_product p,
.blockreassurance_product span {
    margin: 0 !important;
    color: var(--do-ink-2) !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-transform: none !important;
}

/* avis (productcomments) */
.product-comment-list-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--do-line);
}

.product-comment-list-item .comment-title {
    font-weight: 700;
    text-transform: none;
}

.product-comments-additional-info a,
#product-comments-list-footer .btn,
.post-product-comment {
    border: 1px solid var(--do-line-strong) !important;
    border-radius: var(--do-pill) !important;
    background: #fff !important;
    color: var(--do-ink) !important;
    text-transform: none !important;
}

.grade-stars .star-on,
.star-content .star_on,
.star-on {
    color: var(--do-accent) !important;
}

/* titre des produits associés */
.do-pdp-related .featured-products>h2,
.do-pdp-related .featured-products>.h2,
.do-pdp-related .featured-products .headline-section,
.do-pdp-related .products-section-title {
    margin: 0 0 20px !important;
    font-family: var(--do-display) !important;
    font-size: var(--do-fs-h2) !important;
    font-weight: 800 !important;
    letter-spacing: -.02em;
    text-align: left !important;
    text-transform: none !important;
}

.do-pdp-related .featured-products .headline-section::after,
.do-pdp-related .products-section-title::after {
    display: none !important;
}

.do-pdp-related .headline-section {
    margin: 0 0 20px !important;
    font-family: var(--do-display) !important;
    font-size: var(--do-fs-h2) !important;
    font-weight: 800 !important;
    letter-spacing: -.02em;
    text-align: left !important;
    text-transform: none !important;
}

.do-pdp-related .headline-section::after,
.do-pdp-related .headline-section::before {
    display: none !important;
}

body#product .product-comments-additional-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
}

body#product .reviews_count {
    color: var(--do-ink-2);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body#product .wishlist-button-product i {
    font-size: 20px !important;
}

/* le thème masque les conteneurs #_desktop_* sous 992 px : on garde les nôtres visibles */
.do-actions #_desktop_user_info,
.do-actions #_desktop_cart {
    display: block !important;
}

@media (max-width: 767.98px) {
    .do-hero__tag {
        gap: 8px;
        font-size: 8.5px;
        white-space: nowrap;
    }

    .do-hero__tag b {
        white-space: nowrap;
    }

    .do-hero__stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .do-hero__stats li {
        padding: 0 0 0 12px;
    }

    .do-hero__stats li:first-child {
        padding-left: 0;
    }

    .do-hero__stats strong {
        font-size: 14px;
    }

    .do-hero__stats span {
        font-size: 12px;
        line-height: 1.3;
    }
}

/* cœur liste d'envies : l'icône du thème a son propre fond sombre */
.wishlist-button-add i,
.wishlist-button-add .font-heart {
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    color: var(--do-ink) !important;
}

.wishlist-button-add:hover i,
.wishlist-button-add.active i,
.wishlist-button-add .font-heart-full {
    color: var(--do-red) !important;
}

body#product .reviews_count {
    border: 0 !important;
    background: none !important;
}

/* ---------------------------------------------------------------------
   Marques & fournisseurs (listes)
   --------------------------------------------------------------------- */
.do-brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.do-brand-card__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    height: 100%;
    padding: 18px 16px 16px;
    border-radius: var(--do-r-lg);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
    text-align: center;
    transition: transform .25s var(--do-ease), box-shadow .25s var(--do-ease);
}

.do-brand-card__link:hover {
    transform: translateY(-2px);
    box-shadow: var(--do-shadow-2);
}

.do-brand-card__logo {
    display: grid;
    place-items: center;
    width: 100%;
    height: 90px;
}

.do-brand-card__logo img {
    max-width: 80%;
    max-height: 80px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.do-brand-card__initial {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--do-bg);
    color: var(--do-muted);
    font-family: var(--do-display);
    font-size: 22px;
    font-weight: 800;
}

.do-brand-card__name {
    color: var(--do-ink);
    font-size: 14.5px;
    font-weight: 700;
}

.do-brand-card__count {
    color: var(--do-muted);
    font-size: 12.5px;
}

/* ---------------------------------------------------------------------
   Pages CMS : le contenu du back-office impose des tailles minuscules
   --------------------------------------------------------------------- */
#content.page-cms,
.page-cms {
    font-size: 15px;
}

#content.page-cms p,
#content.page-cms li,
#content.page-cms span,
#content.page-cms div,
#content.page-cms td {
    font-size: 15px !important;
    line-height: 1.7 !important;
}

#content.page-cms h2,
#content.page-cms h3 {
    margin: 24px 0 10px;
    font-family: var(--do-display);
    font-weight: 800;
    text-transform: none;
}

#content.page-cms img {
    height: auto;
    border-radius: var(--do-r);
}

/* ---------------------------------------------------------------------
   Sélecteur véhicule hors accueil (promotions, meilleures ventes)
   Toujours via .dovehicle-homefilter : les filtres de la colonne de gauche
   (catégories, marques) portent aussi l'id #dovehicle_filters.
   Bandeau rouge uni comme la carte de l'accueil ; les listes y forment le même creux (voir
   « Trouver ma pièce », v2) : liste sur mobile, 2 × 2 sur tablette, barre sur ordinateur, titre et onglets
   sur la première ligne.
   --------------------------------------------------------------------- */
body:not(#index) #dovehicle_filters.dovehicle-homefilter {
    /* largeur du contenu (le module lui donne la classe container, pleine largeur sous 1200 px) */
    width: calc(100% - 2 * var(--do-gutter)) !important;
    max-width: 1280px !important;
    margin: 16px auto 0 !important;
    padding: 16px !important;
    border-radius: 24px;
    --do-accent: var(--do-red-deep);
    background: var(--do-accent);
    box-shadow: var(--do-shadow-2);
}

body:not(#index) #dovehicle_filters.dovehicle-homefilter .filterhome-label {
    margin: 0 0 14px !important;
    color: #fff !important;
    font-family: var(--do-display);
    font-size: 19px !important;
    font-weight: 800;
    line-height: 1.2;
    text-align: left !important;
    text-transform: none !important;
}

body:not(#index) #dovehicle_filters.dovehicle-homefilter .do-vehicle-facets-wrapper {
    margin: 14px 0 0 !important;
}

body:not(#index) #dovehicle_filters.dovehicle-homefilter .do-vehicle-sep-24 {
    display: none;
}

@media (min-width: 992px) {
    body:not(#index) #dovehicle_filters.dovehicle-homefilter {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        padding: 20px 24px !important;
    }

    body:not(#index) #dovehicle_filters.dovehicle-homefilter>* {
        grid-column: 1 / -1;
    }

    body:not(#index) #dovehicle_filters.dovehicle-homefilter .filterhome-label {
        grid-row: 1;
        grid-column: 1;
        margin: 0 !important;
    }

    body:not(#index) #dovehicle_filters.dovehicle-homefilter .dov-universe {
        grid-row: 1;
        grid-column: 2;
        width: 300px;
        margin: 0;
    }

    body:not(#index) #dovehicle_filters.dovehicle-homefilter .do-vehicle-facets-wrapper {
        margin-top: 18px !important;
    }
}

/* compteur de résultats du filtre véhicule */
#dovehicle-results-count,
.dov-results-count {
    display: inline-flex !important;
    align-items: center;
    margin-top: 12px !important;
    padding: 5px 12px !important;
    border-radius: var(--do-pill) !important;
    background: var(--do-accent-soft) !important;
    color: var(--do-accent) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

/* le module masque le compteur (attribut hidden) tant qu'aucun véhicule n'est choisi */
#dovehicle-results-count[hidden],
.dov-results-count[hidden] {
    display: none !important;
}

ul.do-brand-grid {
    display: grid !important;
}

ul.do-brand-grid>li {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
}

ul.do-brand-grid {
    margin: 0 !important;
    padding: 0 !important;
}


/* widget dovehicle : sa CSS impose Montserrat (téléchargement de 200 Ko) et des polices absentes */
#dovehicle_filters,
#dovehicle_filters *:not(.material-icons),
#dovehicle-home-results,
.dov-search-select__panel,
.dov-search-select__panel * {
    font-family: var(--do-font) !important;
}

/* bandeau : contenus de displayNav1 (tvgeolocation : lien support + pays) */
.do-strip__side a[style] {
    color: var(--do-accent) !important;
    font-weight: 700 !important;
}

.do-strip .tv_geo_location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
}

.do-strip .tv_geo_location svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* ---------------------------------------------------------------------
   Espace client — connexion, création de compte, mot de passe
   (templates/layouts/layout-auth.tpl : en-tête réduit, carte + panneau)
   --------------------------------------------------------------------- */
body.do-auth {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--do-bg);
}

.do-auth__bar {
    border-bottom: 1px solid var(--do-line);
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
}

.do-auth__bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
}

.do-auth__logo img {
    display: block;
    width: auto;
    height: 48px;
}

.do-auth__bar-side {
    display: flex;
    align-items: center;
    gap: 24px;
}

.do-auth__help {
    margin: 0;
    color: var(--do-muted);
    font-size: 13.5px;
}

.do-auth__help a {
    color: var(--do-ink);
    font-weight: 700;
    white-space: nowrap;
}

.do-auth__back {
    font-size: 14px;
}

.do-auth__back:hover .do-icon,
.do-auth__backlink:hover .do-icon {
    transform: translateX(-3px);
}

.do-auth #wrapper.do-auth__main {
    flex: 1 0 auto;
    padding: clamp(24px, 5vw, 64px) 0;
}

.do-auth__grid {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    justify-content: center;
    align-items: stretch;
    gap: clamp(16px, 2vw, 24px);
    max-width: 1120px;
}

.do-auth__card {
    /* carte étirée à la hauteur du panneau voisin : contenu court centré verticalement */
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(24px, 3.4vw, 44px);
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-2);
}

/* bascule Connexion / Créer un compte, façon contrôle segmenté iOS */
.do-auth__switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin: 0 0 28px;
    padding: 4px;
    border-radius: var(--do-pill);
    background: var(--do-bg);
}

.do-auth__switch a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: var(--do-pill);
    color: var(--do-muted);
    font-size: 14px;
    font-weight: 600;
    transition: background-color .2s var(--do-ease), color .2s, box-shadow .2s;
}

.do-auth__switch a:hover {
    color: var(--do-ink);
}

.do-auth__switch a.is-active {
    background: var(--do-surface);
    color: var(--do-ink);
    box-shadow: 0 1px 2px rgba(10, 10, 20, .08), 0 4px 12px -6px rgba(10, 10, 20, .2);
}

.do-auth__switch a:focus-visible {
    outline: none;
    box-shadow: var(--do-ring);
}

.do-auth__title {
    margin: 0;
    color: var(--do-ink);
    font-family: var(--do-display);
    font-size: clamp(26px, 2.6vw, 34px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.08;
    text-align: left;
    text-transform: none;
}

/* sans chapeau (confirmation d'envoi), le contenu ne doit pas coller au titre */
.do-auth__title+:not(.do-auth__lead) {
    margin-top: 24px;
}

.do-auth__lead {
    margin: 10px 0 28px;
    color: var(--do-muted);
    font-size: 15px;
    line-height: 1.55;
}

/* champs : libellé au-dessus, pleine largeur (le gabarit des champs est en grille Bootstrap).
   Partagé par les pages de connexion (.do-auth) et l'espace client (.do-acc, customer/page.tpl). */
:is(.do-auth, .do-acc) .form-group,
:is(.do-auth, .do-acc) .form-group.row {
    position: relative;
    display: block;
    margin: 0 0 18px;
}

:is(.do-auth, .do-acc) .form-group.row>[class*="col-"] {
    width: 100%;
    max-width: none;
    flex: none;
    float: none;
    padding: 0;
}

:is(.do-auth, .do-acc) .form-control-label {
    display: block;
    margin: 0 0 7px;
    padding: 0;
    color: var(--do-ink);
    font-size: 13.5px;
    font-weight: 600;
    text-align: left;
    text-transform: none;
}

/* « Optionnel » : en face du libellé */
:is(.do-auth, .do-acc) .form-group.row>.form-control-comment {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    color: var(--do-muted);
    font-size: 12.5px;
    line-height: 1.5;
}

:is(.do-auth, .do-acc) .form-group [class*="col-"]>.form-control-comment {
    display: block;
    margin-top: 6px;
    color: var(--do-muted);
    font-size: 12.5px;
    line-height: 1.45;
}

:is(.do-auth, .do-acc) .form-control {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border-radius: var(--do-r);
    font-size: 16px;
}

:is(.do-auth, .do-acc) .has-error .form-control {
    border-color: var(--do-red);
}

/* mot de passe : bouton « Afficher » logé dans le champ */
:is(.do-auth, .do-acc) .input-group {
    position: relative;
    display: block;
    width: 100%;
}

:is(.do-auth, .do-acc) .input-group .form-control {
    padding-right: 104px;
    border-radius: var(--do-r) !important;
}

:is(.do-auth, .do-acc) .input-group-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    bottom: 6px;
    /* au-dessus du champ (Bootstrap lui donne un z-index) : sinon le clic tombe dans le champ */
    z-index: 5;
    display: flex;
    width: auto;
}

:is(.do-auth, .do-acc) .input-group-btn .btn {
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0 14px;
    border: 0;
    border-radius: 10px !important;
    background: var(--do-bg);
    color: var(--do-ink);
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    box-shadow: none;
}

:is(.do-auth, .do-acc) .input-group-btn .btn:hover {
    background: #e8e8ed;
    color: white;
}

/* cases à cocher et boutons radio : contrôles natifs aux couleurs du site */
:is(.do-auth, .do-acc) .custom-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    color: var(--do-ink);
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    text-transform: none;
    cursor: pointer;
}

:is(.do-auth, .do-acc) .custom-checkbox label em {
    display: block;
    margin-top: 2px;
    color: var(--do-muted);
    font-size: 12.5px;
    font-style: normal;
}

:is(.do-auth, .do-acc) .custom-checkbox input[type="checkbox"] {
    position: static;
    flex: none;
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    opacity: 1;
    accent-color: var(--do-accent);
    cursor: pointer;
}

:is(.do-auth, .do-acc) .custom-checkbox input[type="checkbox"]+span {
    display: none;
}

:is(.do-auth, .do-acc) .form-control-valign {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
}

:is(.do-auth, .do-acc) .radio-inline {
    /* le thème impose #authentication .radio-inline { padding: 0 } */
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    margin: 0;
    padding: 0 18px 0 14px !important;
    border: 1px solid var(--do-line-strong);
    border-radius: var(--do-pill);
    color: var(--do-ink);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .2s, background-color .2s;
}

:is(.do-auth, .do-acc) .radio-inline:has(input:checked) {
    border-color: var(--do-accent);
    background: var(--do-accent-soft);
}

:is(.do-auth, .do-acc) .custom-radio {
    position: static;
    display: inline-flex;
    width: auto;
    height: auto;
    margin: 0;
    border: 0;
    background: none;
}

:is(.do-auth, .do-acc) .custom-radio input[type="radio"] {
    position: static;
    width: 18px;
    height: 18px;
    margin: 0;
    opacity: 1;
    accent-color: var(--do-accent);
    cursor: pointer;
}

:is(.do-auth, .do-acc) .custom-radio input[type="radio"]+span {
    display: none;
}

/* création de compte : prénom et nom côte à côte */
:is(.do-auth, .do-acc) #customer-form>section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
}

:is(.do-auth, .do-acc) #customer-form>section>* {
    grid-column: 1 / -1;
}

:is(.do-auth, .do-acc) #customer-form>section>.form-group:has(#field-firstname),
:is(.do-auth, .do-acc) #customer-form>section>.form-group:has(#field-lastname) {
    grid-column: auto;
}

/* envoi : bouton principal pleine largeur */
:is(.do-auth, .do-acc) .form-footer {
    margin: 6px 0 0;
    padding: 0;
    border: 0;
    text-align: left;
}

:is(.do-auth, .do-acc) .form-footer .btn,
:is(.do-auth, .do-acc) .do-auth__form>.btn {
    display: flex;
    width: 100%;
    min-height: 52px;
    float: none;
    font-size: 16px;
}

:is(.do-auth, .do-acc) .forgot-password {
    margin: -4px 0 22px;
    text-align: right;
}

:is(.do-auth, .do-acc) .forgot-password a,
.do-auth__note a {
    color: var(--do-ink);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--do-line-strong);
    text-underline-offset: 3px;
}

:is(.do-auth, .do-acc) .forgot-password a:hover,
.do-auth__note a:hover {
    text-decoration-color: var(--do-accent);
}

.do-auth__alt {
    margin: 28px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid var(--do-line);
    text-align: center;
}

.do-auth__alt p {
    margin: 0 0 12px;
    color: var(--do-muted);
    font-size: 14px;
}

.do-auth__alt .do-btn {
    min-height: 50px;
}

.do-auth__note {
    margin: 22px 0 0;
    color: var(--do-muted);
    font-size: 14px;
    text-align: center;
}

.do-auth__backlink {
    margin-top: 24px;
    font-size: 14px;
}

/* erreurs, confirmations, notifications */
:is(.do-auth, .do-acc) .help-block {
    margin: 8px 0 0;
}

:is(.do-auth, .do-acc) .help-block ul,
:is(.do-auth, .do-acc) #notifications ul,
:is(.do-auth, .do-acc) .ps-alert-error,
:is(.do-auth, .do-acc) .ps-alert-success {
    margin: 0;
    padding: 0;
    list-style: none;
}

:is(.do-auth, .do-acc) #notifications .container {
    max-width: none;
    padding: 0;
}

:is(.do-auth, .do-acc) .help-block .alert,
:is(.do-auth, .do-acc) #notifications .alert,
:is(.do-auth, .do-acc) .ps-alert-error li,
:is(.do-auth, .do-acc) .ps-alert-success li {
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 0;
    border-radius: var(--do-r);
    font-size: 14px;
    line-height: 1.5;
}

:is(.do-auth, .do-acc) .form-group .help-block .alert {
    margin: 0;
    padding: 8px 12px;
    font-size: 13px;
}

:is(.do-auth, .do-acc) .alert-danger,
:is(.do-auth, .do-acc) .ps-alert-error li {
    background: var(--do-red-soft);
    color: #b3141b;
}

:is(.do-auth, .do-acc) .alert-success,
:is(.do-auth, .do-acc) .ps-alert-success li {
    background: var(--do-green-soft);
    color: #136c3a;
}

:is(.do-auth, .do-acc) .alert-warning {
    background: var(--do-accent-soft);
    color: #8a4b00;
}

/* panneau sombre : ce que le compte apporte */
.do-auth__aside {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    padding: clamp(28px, 4vw, 48px);
    border-radius: var(--do-r-xl);
    background: var(--do-dark);
    color: #fff;
    isolation: isolate;
}

.do-auth__aside::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 20% 20%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 90% 70% at 20% 20%, #000 20%, transparent 75%);
}

.do-auth__aside::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -30%;
    bottom: -40%;
    width: 90%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 149, 0, .34), rgba(255, 149, 0, .08) 55%, transparent 72%);
    filter: blur(10px);
}

.do-auth__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.do-auth__eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--do-accent);
}

.do-auth__aside-title {
    margin: 0 0 28px;
    color: #fff;
    font-family: var(--do-display);
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.1;
}

.do-auth__perks {
    display: grid;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.do-auth__perks li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.do-auth__perk-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: rgba(255, 149, 0, .14);
    color: var(--do-accent);
}

.do-auth__perks strong {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.do-auth__perks span:not(.do-auth__perk-icon) {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, .62);
    font-size: 13.5px;
    line-height: 1.5;
}

.do-auth__trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    margin: auto 0 0;
    padding-top: 32px;
    color: rgba(255, 255, 255, .55);
    font-size: 12.5px;
}

.do-auth__trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.do-auth__trust .do-icon {
    width: 16px;
    height: 16px;
    color: var(--do-accent);
}

/* pied de page légal */
.do-auth__foot {
    padding: 8px 0 28px;
    color: var(--do-muted);
    font-size: 13px;
}

.do-auth__foot-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    max-width: 1120px;
}

.do-auth__foot nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
}

.do-auth__foot a {
    color: var(--do-muted);
}

.do-auth__foot a:hover {
    color: var(--do-ink);
}

.do-auth__foot p {
    margin: 0;
}

@media (max-width: 991.98px) {
    .do-auth__grid {
        grid-template-columns: minmax(0, 560px);
    }

    .do-auth__aside {
        padding: 24px;
    }

    .do-auth__aside-title {
        margin-bottom: 20px;
    }

    .do-auth__perks {
        gap: 16px;
    }
}

@media (max-width: 575.98px) {
    .do-auth__bar-inner {
        min-height: 60px;
    }

    .do-auth__logo img {
        height: 42px;
    }

    .do-auth__help {
        display: none;
    }

    .do-auth #wrapper.do-auth__main {
        padding: 16px 0 24px;
    }

    .do-auth__card {
        padding: 22px 18px 24px;
        border-radius: var(--do-r-lg);
    }

    .do-auth__aside {
        border-radius: var(--do-r-lg);
    }

    .do-auth #customer-form>section {
        grid-template-columns: minmax(0, 1fr);
    }

    .do-auth__foot-inner {
        justify-content: center;
        text-align: center;
    }

    .do-auth__foot nav {
        justify-content: center;
    }
}

#js-product-list-bottom {
    margin-top: 24px;
}

#wrapper {
    margin-top: 24px;
    margin-bottom: 24px;
}

/* (2026-10-08) Remplace « max-height: 200vh; overflow: scroll » : les filtres de la colonne sont maintenant des
   accordéons repliés, la colonne reste courte sans boîte à défilement ni barres de défilement permanentes.
   Voir « Colonne de gauche des listes » en fin de fichier. */
#left-column #dovehicle_filters {
    max-height: none;
    overflow: visible !important;
}

#dovehicle_filters {
    width: 100%;
    /* Hors du header, les listes déroulantes du widget doivent passer au-dessus du slider et des vignettes
              produit qui le suivent (z-index 1 et plus), mais rester sous le méga-menu du thème (#adtm_menu,
              z-index 9) dont les sous-menus s'ouvrent par-dessus : ni 100 (le menu passerait dessous) ni auto. */
    position: relative;
    z-index: 8;
    overflow: visible;
    display: flex;
    flex-direction: column;

}

/* ── Entrée douce du widget ──────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    #dovehicle_filters {
        animation: dovFiltersIn 0.4s ease both;
    }
}

@keyframes dovFiltersIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── État de chargement (AJAX filtres) ───────────────────── */
.dovehicle-filters.is-loading {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

/* ── Spinner de chargement ────────────────────────────────── */
.dov-spinner,
.dovehicle-filters.is-initializing .do-vehicle-facets-wrapper::before {
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    border: 4px solid rgba(251, 199, 35, 0.3);
    border-top-color: var(--dov-primary);
    border-radius: 50%;
    animation: dovSpin 0.8s linear infinite;
}

.dov-spinner {
    display: inline-block;
}

@keyframes dovSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {

    .dov-spinner,
    .dovehicle-filters.is-initializing .do-vehicle-facets-wrapper::before {
        animation-duration: 2.4s;
    }
}

/* Voile + spinner posés sur une zone en cours de rechargement (la zone sert de repère de positionnement) */
.dov-loading-host {
    position: relative;
}

#dovehicle-home-results.dov-loading-host {
    min-height: 180px;
}

.dov-loading-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 72px;
    background: rgba(255, 255, 255, 0.72);
}

/* Changement de page (ex. « Voir les résultats » sur une page marque) : tout l'écran */
.dov-loading-overlay--page {
    position: fixed;
    z-index: 100000;
    align-items: center;
    padding-top: 0;
    background: rgba(255, 255, 255, 0.8);
}

.dov-loading-overlay__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Widget en cours d'initialisation : filters.js retire la classe une fois les selects prêts. Sans JS
       (ou en cas d'erreur) le widget réapparaît de lui-même après 6 s, il ne reste jamais caché. */
.dovehicle-filters.is-initializing .do-vehicle-facets-wrapper {
    visibility: hidden;
    min-height: 80px;
    animation: dovInitTimeout 0s 6s forwards;
}

.dovehicle-filters.is-initializing .do-vehicle-facets-wrapper::before {
    content: "";
    visibility: visible;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -22px;
    animation: dovSpin 0.8s linear infinite, dovInitTimeoutHide 0s 6s forwards;
}

@keyframes dovInitTimeout {
    to {
        visibility: visible;
    }
}

@keyframes dovInitTimeoutHide {
    to {
        opacity: 0;
    }
}

/* ── Checkbox custom (attributs / caractéristiques) ──────── */
.ps-shown-by-js {
    text-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    background: #fff;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.custom-checkbox:hover .ps-shown-by-js {
    border-color: var(--dov-primary);
}

.ps-shown-by-js .material-icons {
    opacity: 0;
    font-size: 14px;
    color: #fff;
    transition: opacity 0.15s ease;
}

.dovehicle-filter-attr:checked~.ps-shown-by-js,
.dovehicle-filter-feature:checked~.ps-shown-by-js {
    background: var(--dov-primary);
    border-color: var(--dov-primary);
}

.dovehicle-filter-attr:checked~.ps-shown-by-js .material-icons,
.dovehicle-filter-feature:checked~.ps-shown-by-js .material-icons {
    opacity: 1;
}

.dovehicle-filter-attr,
.dovehicle-filter-feature {
    cursor: pointer;
}

/* ── Onglets Auto / Moto (accueil, meilleures ventes, promotions) ──
       Style clair neutre ; le thème peut l'adapter (fond sombre de la carte de l'accueil, cf. driveonly.css). */
.dov-universe {
    display: flex;
    gap: 4px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 14px;
    padding: 4px;
    border-radius: 12px;
    background: #f1f1f3;
}

.dov-universe__tab {
    display: inline-flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 14px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #555;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.dov-universe__tab:hover {
    color: #111;
}

.dov-universe__tab.is-active {
    background: #fff;
    color: #111;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.dov-universe__tab:focus-visible {
    outline: 2px solid var(--dov-primary);
    outline-offset: 2px;
}

.dov-universe__icon {
    flex: none;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Selects véhicule ─────────────────────────────────────── */
.do-vehicle-facets-wrapper select.custom-select {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.do-vehicle-facets-wrapper select.custom-select:hover:not(:disabled) {
    border-color: var(--dov-primary);
}

.do-vehicle-facets-wrapper select.custom-select:focus {
    border-color: var(--dov-primary);
    box-shadow: 0 0 0 3px rgba(251, 199, 35, 0.2);
    outline: none;
}

.do-vehicle-facets-wrapper select.custom-select:disabled {
    background-color: #f7f7f7;
    cursor: not-allowed;
}

/* ── Select personnalisé avec recherche (JS) ─────────────── */
.dov-native-select-hidden {
    display: none;
}

.dov-search-select {
    position: relative;
}

.dov-search-select__control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dov-search-select__control:hover:not(:disabled) {
    border-color: var(--dov-primary);
}

.dov-search-select.open .dov-search-select__control {
    border-color: var(--do-accent);
    box-shadow: 0 0 0 3px rgba(229, 38, 46, .15);
}

.dov-search-select__control:disabled {
    background: #f7f7f7;
    cursor: not-allowed;
    opacity: 0.6;
}

.dov-search-select__value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dov-search-select__arrow {
    flex-shrink: 0;
    font-size: 0.7em;
    color: #999;
    transition: transform 0.2s ease;
}

.dov-search-select.open .dov-search-select__arrow {
    transform: rotate(180deg);
    color: var(--dov-primary);
}

/* Panneau ouvert (2026-10-16) : couleurs du thème (rouge, gris) au lieu du jaune du module, lignes de 44 px
   (cible tactile confortable), champ de recherche avec loupe, liste plus haute. */
.dov-search-select__panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--do-line-strong);
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(10, 10, 20, .06), 0 28px 60px -22px rgba(10, 10, 20, .4);
    color: var(--do-ink);
    overflow: hidden;
    min-width: 280px;
}

.dov-search-select.open .dov-search-select__panel {
    display: block;
    animation: dovSearchSelectIn 0.15s ease-out;
}

@keyframes dovSearchSelectIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dov-search-select__input {
    width: 100%;
    height: 46px;
    margin: 0 0 6px;
    padding: 0 14px 0 40px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: var(--do-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e76' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 13px center / 17px;
    color: var(--do-ink);
    font: inherit;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.dov-search-select__input::placeholder {
    color: var(--do-muted);
    opacity: 1;
}

.dov-search-select__input:focus {
    border-color: var(--do-accent);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(229, 38, 46, .12);
}

.dov-search-select__list {
    list-style: none;
    margin: 0;
    padding: 0 2px 0 0;
    max-height: min(360px, 52vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-padding-block: 4px;
}

.dov-search-select__option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.dov-search-select__option+.dov-search-select__option {
    margin-top: 1px;
}

/* familles en arbre : la mère, puis ses filles en retrait */
.dov-search-select__option--group {
    font-weight: 700;
}

.dov-search-select__option+.dov-search-select__option--group {
    margin-top: 6px;
}

.dov-search-select__option--child {
    padding-left: 30px;
    font-weight: 500;
}

.dov-search-select__option:hover,
.dov-search-select__option.is-active {
    background: var(--do-bg);
}

/* ligne active au clavier : repère visible en plus du fond */
.dov-search-select__option.is-active {
    box-shadow: inset 3px 0 0 var(--do-accent);
}

.dov-search-select__option[aria-selected="true"] {
    background: rgba(229, 38, 46, .07);
    color: #c41a21;
    font-weight: 700;
}

.dov-search-select__option[aria-selected="true"]::after {
    content: "";
    flex: none;
    width: 16px;
    height: 16px;
    margin-left: auto;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dov-search-select__empty {
    padding: 12px;
    color: var(--do-muted);
    font-size: 14px;
    font-style: italic;
}

.dov-search-select__match {
    background: rgba(255, 149, 0, .28);
    color: inherit;
    border-radius: 3px;
    padding: 0 1px;
}

.dov-search-select__scrim {
    display: none;
}

/* Mobile : le panneau devient un tiroir ancré en bas de l'écran (2026-10-23 : plus haut, poignée, en-tête avec
   le nom de la liste et « Fermer », pied « Voir les N pièces » sur le sélecteur de l'accueil et le bandeau des
   listes ; en-tête et pied ajoutés par driveonly.js). Page figée derrière (html.do-sheet-lock). */
.do-sheet__head,
.do-sheet__foot {
    display: none;
}

@media (max-width: 575px) {

    html.do-sheet-lock,
    html.do-sheet-lock body {
        overflow: hidden;
    }

    .dov-search-select.open .dov-search-select__scrim {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1049;
        background: rgba(10, 10, 15, .5);
        animation: dovScrimIn .2s ease-out;
    }

    .dov-search-select__panel {
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1050;
        flex-direction: column;
        min-width: 0;
        max-height: 88vh;
        max-height: 88dvh;
        padding: 0 12px calc(12px + env(safe-area-inset-bottom));
        border: 0;
        border-radius: 22px 22px 0 0;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, .25);
        outline: none;
    }

    .dov-search-select.open .dov-search-select__panel {
        display: flex;
        animation: dovSearchSheetIn .25s var(--do-ease);
    }

    .do-sheet__head {
        position: relative;
        display: flex;
        flex: none;
        align-items: center;
        gap: 12px;
        padding: 20px 2px 12px;
    }

    /* poignée */
    .do-sheet__head::before {
        content: "";
        position: absolute;
        top: 8px;
        left: 50%;
        width: 38px;
        height: 5px;
        margin-left: -19px;
        border-radius: 3px;
        background: #d6d6db;
    }

    .do-sheet__title {
        flex: 1;
        min-width: 0;
        margin: 0;
        color: var(--do-ink);
        font-family: var(--do-display);
        font-size: 18px;
        font-weight: 800;
        line-height: 1.2;
    }

    .do-sheet__close {
        display: grid;
        flex: none;
        place-items: center;
        width: 36px;
        height: 36px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: var(--do-bg);
        color: var(--do-ink-2);
        cursor: pointer;
    }

    .do-sheet__close svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.2;
        stroke-linecap: round;
    }

    /* 16 px : en dessous, Safari (iOS) agrandit la page quand le champ prend le focus */
    .dov-search-select__input {
        flex: none;
        font-size: 16px;
    }

    .dov-search-select__list {
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;
    }

    html.dov-filtering .do-sheet__foot {
        display: block;
        flex: none;
        margin-top: 6px;
        padding-top: 10px;
        border-top: 1px solid var(--do-line);
    }

    .do-sheet__foot .do-finder__go {
        background: var(--do-accent);
        color: #fff;
        box-shadow: none;
    }

    .do-sheet__foot .do-finder__go .do-icon {
        color: #fff;
    }

    .do-sheet__foot .do-finder__go-icon--down {
        padding: 0;
        background: none;
    }

    .do-sheet__foot .do-finder__go-spin {
        border-color: rgba(255, 255, 255, .35);
        border-top-color: #fff;
    }
}

@keyframes dovScrimIn {
    from {
        opacity: 0;
    }
}

@keyframes dovSearchSheetIn {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

/* ── Compteur de résultats / message d'erreur ────────────── */
.dov-results-count {
    display: inline-block;
    margin: 4px 0 12px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(251, 199, 35, 0.15);
    color: #665300;
    font-size: 0.8125rem;
    font-weight: 600;
}

.dovehicle-results-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.dov-filters-error {
    margin: 8px 0;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fdeceb;
    color: #a12b23;
    font-size: 0.875rem;
}

/* ── Boutons ──────────────────────────────────────────────── */
.dovehicle-filters .btn,
#change-vehicle-modale .btn {
    border-radius: 8px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dovehicle-filters .btn:hover,
#change-vehicle-modale .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Bouton "Réinitialiser" : apparition/disparition en douceur au lieu d'un display toggle sec */
.dovehicle-reset-filters {
    overflow: hidden;
    transition: opacity 0.25s ease, max-height 0.25s ease, margin 0.25s ease;
}

.dovehicle-reset-filters:not(.is-visible) {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    margin: 0;
    pointer-events: none;
}

.dovehicle-reset-filters.is-visible {
    opacity: 1;
    visibility: visible;
    max-height: 60px;
}

.facet-title {
    font-size: 1.1em;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 1px;
}

.dovehicle-attribute-name {
    font-weight: 500;
}

.magnitude {
    font-size: 0.9em;
    margin-left: 5px;
    font-weight: normal;
    font-style: italic;
}

.dovehicle-homefilter {
    margin-top: 50px;
    margin-bottom: 30px;
}

.filterhome-label {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 30px;
}

/* ── Colonne de gauche (catégorie, marque) : affichage selon la largeur ──
       Le gabarit utilise les classes Bootstrap 4 hidden-md-down / hidden-lg-up, que le thème AngarTheme ne
       définit pas : sans elles, le titre « bureau » et l'en-tête « mobile » de chaque facette s'affichent
       ensemble à toutes les largeurs. (Accueil exclu : il garde son titre et ses libellés sur mobile.) */
@media (max-width: 991px) {
    .dovehicle-filters:not(.dovehicle-homefilter) .hidden-md-down {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .dovehicle-filters:not(.dovehicle-homefilter) .hidden-lg-up {
        display: none !important;
    }
}

/* ── Accueil / meilleures ventes / promotions : rangée de selects adaptative ──
       La rangée ne doit jamais dépasser la largeur de l'écran : au-delà de ce qu'elle peut contenir les
       selects passent à la ligne (2 par ligne en tablette, 1 par ligne en mobile) au lieu de déborder. */
.dovehicle-homefilter {
    box-sizing: border-box;
    max-width: 100%;
}

.dovehicle-homefilter .do-vehicle-facets-wrapper>.facet {
    min-width: 0;
    max-width: 100%;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .dovehicle-homefilter {
        margin-top: 30px;
        margin-bottom: 20px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .dovehicle-homefilter .do-vehicle-facets-wrapper>.facet {
        flex: 1 1 calc(50% - 9px);
    }

    .dovehicle-homefilter .do-vehicle-facets-wrapper>.facet.last {
        flex-basis: 100%;
    }

    .dovehicle-homefilter .do-vehicle-sep-24 {
        margin-top: 16px;
    }

    .filterhome-label {
        font-size: 1.4em;
    }
}

@media (max-width: 575px) {
    .dovehicle-homefilter {
        margin-top: 20px;
    }

    .dovehicle-homefilter .do-vehicle-facets-wrapper>.facet {
        flex-basis: 100%;
    }

    .filterhome-label {
        font-size: 1.15em;
    }
}

.do-vehicle-middle-title {
    font-size: 1.3em;
    font-weight: 500;
}

.do-vehicle-sep-24 {
    display: block;
    height: 8px;
    margin-top: 36px;
    border-top: 1px solid #eee;
}

.do-vehicle-sep-12 {
    display: block;
    height: 15px;
}

/* ---------------------------------------------------------------------
   dovehicle — onglets Auto / Moto en tête du sélecteur, sur fond sombre :
   carte « Trouver ma pièce » de l'accueil, bandeau des promotions et des
   meilleures ventes. Le module fournit un style clair neutre (AngarTheme).
   --------------------------------------------------------------------- */
.do-finder .dov-universe,
body:not(#index) #dovehicle_filters.dovehicle-homefilter .dov-universe {
    margin: 0;
    padding: 4px;
    border: 0;
    border-radius: var(--do-pill);
    background: rgba(0, 0, 0, .16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

body:not(#index) #dovehicle_filters.dovehicle-homefilter .dov-universe {
    max-width: 360px;
}

.do-finder .dov-universe__tab,
body:not(#index) #dovehicle_filters.dovehicle-homefilter .dov-universe__tab {
    min-height: 42px;
    border-radius: var(--do-pill);
    color: rgba(255, 255, 255, .9);
    font-family: var(--do-font);
    font-size: 14px;
    font-weight: 700;
}

.do-finder .dov-universe__tab:hover,
body:not(#index) #dovehicle_filters.dovehicle-homefilter .dov-universe__tab:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.do-finder .dov-universe__tab.is-active,
body:not(#index) #dovehicle_filters.dovehicle-homefilter .dov-universe__tab.is-active {
    background: #fff;
    color: var(--do-ink);
    box-shadow: var(--do-shadow-1);
}

.do-finder .dov-universe__tab.is-active .dov-universe__icon,
body:not(#index) #dovehicle_filters.dovehicle-homefilter .dov-universe__tab.is-active .dov-universe__icon {
    color: var(--do-accent);
}

.do-finder .dov-universe__tab:focus-visible,
body:not(#index) #dovehicle_filters.dovehicle-homefilter .dov-universe__tab:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* mobile : onglets compacts, sur la ligne du titre de la carte (« Trouver ma pièce » … Auto | Moto) ;
   sans icône sous 430 px, sous le titre sous 360 px */
@media (max-width: 575px) {
    .do-finder .dov-universe {
        padding: 3px;
    }

    .do-finder .dov-universe__tab {
        gap: 6px;
        min-height: 34px;
        padding: 6px 10px;
        font-size: 13.5px;
    }

    .do-finder .dov-universe__icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 429px) {
    .do-finder .dov-universe__icon {
        display: none;
    }
}

@media (max-width: 575px) {
    .do-hero h1 {
        font-size: clamp(24px, 6.9vw, 30px);
    }
}

@media (max-width: 359px) {
    .do-finder {
        grid-template-areas:
            "title title"
            "tabs tabs"
            "sub sub"
            "err err"
            "bar bar"
            "go go";
    }

    .do-finder #dovehicle_filters .dov-universe {
        margin-top: 10px;
    }
}

/* =====================================================================
   Colonne de gauche des listes (catégorie, marque) — filtres dovehicle
   Listes groupées façon iOS : cartes blanches, lignes séparées par des
   filets, accordéons à chevron, cases arrondies, interrupteurs, recherche.
   Balisage : modules/dovehicle/views/templates/front/display_filters.twig ;
   comportement (ouverture, « Afficher les N autres », recherche) : filters.js.
   Tout est limité à #left-column : le sélecteur de l'accueil n'est pas concerné.
   ===================================================================== */
#left-column #dovehicle_filters {
    display: block;
    margin: 0 0 16px;
    font-family: var(--do-font);
}

#left-column #dovehicle_filters .do-vehicle-facets-wrapper {
    display: block;
    color: var(--do-ink);
    font-family: var(--do-font);
    font-size: 15px;
}

#left-column #dovehicle_filters .do-vehicle-sep-24 {
    display: none;
}

/* bloc véhicule : une carte, champs remplis façon iOS */
#left-column .dov-vehicle-block {
    margin: 0 0 22px;
    padding: 16px;
    border-radius: var(--do-r-lg);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
}

#left-column .dov-vehicle-block>.facet {
    margin: 0 0 12px;
    padding: 0;
    border: 0;
}

#left-column .dov-vehicle-block>.facet.last {
    margin: 0;
}

/* aucun filtre actif : le conteneur du bouton « Réinitialiser » replié ne laisse pas de vide en bas de la carte */
#left-column .dov-vehicle-block>.facet:has(+ .facet.last .dovehicle-reset-filters:not(.is-visible)) {
    margin-bottom: 0;
}

#left-column .dov-vehicle-block>.facet.last:has(.dovehicle-reset-filters:not(.is-visible)) {
    display: none;
}

#left-column .dov-vehicle-block .facet-title {
    margin: 0 0 6px;
    color: var(--do-muted);
    font-size: 12.5px;
    font-weight: 600;
}

#left-column .dov-vehicle-block .dov-search-select__control,
#left-column .dov-vehicle-block select.custom-select {
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    border-radius: 12px;
    background: rgba(118, 118, 128, .12);
    color: var(--do-ink);
    font-size: 15px;
    box-shadow: none;
}

#left-column .dov-vehicle-block .dov-search-select__control:hover:not(:disabled) {
    background: rgba(118, 118, 128, .18);
}

#left-column .dov-vehicle-block .dov-search-select.open .dov-search-select__control {
    background: var(--do-surface);
    box-shadow: 0 0 0 2px var(--do-accent);
}

#left-column .dov-vehicle-block .dov-search-select__control:disabled {
    opacity: .5;
}

/* replié tant qu'aucun filtre n'est actif : la hauteur minimale des boutons du thème (46 px) le gardait ouvert
   (même correctif que pour la carte de l'accueil) */
#left-column .dov-vehicle-block .dovehicle-reset-filters:not(.is-visible) {
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
}

#left-column .dov-vehicle-block .dovehicle-reset-filters.is-visible {
    min-height: 40px;
    margin-top: 4px;
    border: 0;
    border-radius: var(--do-pill);
    background: rgba(118, 118, 128, .12);
    color: var(--do-ink);
    font-size: 14px;
    font-weight: 600;
}

/* recherche dans les filtres (au-delà de 8 filtres) */
#left-column .dov-facet-search {
    position: relative;
    margin: 0 0 18px;
}

#left-column .dov-facet-search__icon {
    position: absolute;
    top: 50%;
    left: 12px;
    width: 17px;
    height: 17px;
    transform: translateY(-50%);
    fill: none;
    stroke: var(--do-muted);
    stroke-width: 2;
    stroke-linecap: round;
    pointer-events: none;
}

#left-column .dov-facet-search__input {
    width: 100%;
    height: 40px;
    padding: 0 12px 0 36px;
    border: 0;
    border-radius: 12px;
    background: rgba(118, 118, 128, .12);
    color: var(--do-ink);
    font: inherit;
    font-size: 15px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

#left-column .dov-facet-search__input::placeholder {
    color: var(--do-muted);
}

#left-column .dov-facet-search__input:focus {
    background: var(--do-surface);
    box-shadow: 0 0 0 2px var(--do-accent);
}

#left-column .dov-facet-search__empty {
    margin: 0 4px 18px;
    color: var(--do-muted);
    font-size: 14px;
}

/* groupes « Options » / « Caractéristiques » : titre de section + carte */
#left-column .dov-facet-group {
    margin: 0 0 22px;
}

#left-column .dov-facet-group__title {
    margin: 0 4px 8px;
    color: var(--do-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

#left-column .dov-facet-group__card {
    overflow: hidden;
    border-radius: var(--do-r-lg);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
}

/* hauteurs minimales comptées marges intérieures comprises (sans quoi <summary> fait 48 + 24 px) */
#left-column .dov-facet,
#left-column .dov-facet__head,
#left-column .dov-check,
#left-column .dov-facet--switch,
#left-column .dov-facet-group__more {
    box-sizing: border-box;
}

/* une ligne par filtre ; filet décalé à gauche comme dans les listes iOS */
#left-column .dov-facet {
    position: relative;
    display: block;
    margin: 0;
}

#left-column .dov-facet[hidden] {
    display: none;
}

#left-column .dov-facet+.dov-facet::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 16px;
    height: 1px;
    background: var(--do-line);
}

#left-column .dov-facet__head {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 12px 12px 16px;
    color: var(--do-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    list-style: none;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    transition: background .15s ease;
}

#left-column .dov-facet__head::-webkit-details-marker {
    display: none;
}

@media (hover: hover) {
    #left-column .dov-facet__head:hover {
        background: var(--do-surface-2);
    }
}

#left-column .dov-facet__head:focus-visible {
    outline: 2px solid var(--do-accent);
    outline-offset: -2px;
}

#left-column .dov-facet__title {
    flex: 1;
    min-width: 0;
}

#left-column .dov-facet__count,
#left-column .dov-check__count {
    flex: none;
    color: var(--do-muted);
    font-size: 13px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

#left-column .dov-facet__badge {
    display: inline-grid;
    flex: none;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--do-pill);
    background: var(--do-accent);
    color: var(--do-accent-ink);
    font-size: 12px;
    font-weight: 700;
}

#left-column .dov-facet__badge[hidden] {
    display: none;
}

/* un filtre coché : son nombre de valeurs laisse la place au badge */
#left-column .dov-facet.has-selection .dov-facet__count {
    display: none;
}

#left-column .dov-facet__chevron {
    flex: none;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #c4c4c9;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s var(--do-ease);
}

#left-column details.dov-facet[open]>.dov-facet__head .dov-facet__chevron {
    transform: rotate(90deg);
}

#left-column .dov-facet__list {
    margin: 0;
    padding: 0 8px 8px;
    list-style: none;
}

#left-column .dov-facet__item {
    margin: 0;
}

#left-column .dov-facet__item[hidden] {
    display: none;
}

/* valeur : case arrondie + libellé + nombre de produits */
#left-column .dov-check {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 40px;
    margin: 0;
    padding: 8px;
    border-radius: 10px;
    color: var(--do-ink-2);
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.35;
    cursor: pointer;
    transition: background .15s ease;
}

@media (hover: hover) {
    #left-column .dov-check:hover {
        background: var(--do-surface-2);
    }
}

/* cases et interrupteurs natifs : masqués mais focalisables (clavier, lecteurs d'écran) */
#left-column .dov-check__input,
#left-column .dov-switch__input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

#left-column .dov-check__box {
    display: grid;
    flex: none;
    place-items: center;
    width: 20px;
    height: 20px;
    border: 1.5px solid #c4c4c9;
    border-radius: 6px;
    background: var(--do-surface);
    transition: background .15s ease, border-color .15s ease;
}

#left-column .dov-check__box::after {
    content: "";
    width: 10px;
    height: 5px;
    margin-top: -2px;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    opacity: 0;
    transform: rotate(-45deg) scale(.6);
    transition: opacity .15s ease, transform .15s var(--do-ease);
}

#left-column .dov-check__input:checked+.dov-check__box {
    border-color: var(--do-accent);
    background: var(--do-accent);
}

#left-column .dov-check__input:checked+.dov-check__box::after {
    opacity: 1;
    transform: rotate(-45deg) scale(1);
}

#left-column .dov-check__input:focus-visible+.dov-check__box,
#left-column .dov-switch__input:focus-visible+.dov-switch {
    box-shadow: var(--do-ring);
}

#left-column .dov-check__input:checked~.dov-check__label {
    color: var(--do-ink);
    font-weight: 600;
}

#left-column .dov-check__label {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

#left-column .dov-check__extra {
    color: var(--do-muted);
    font-size: 12.5px;
    font-weight: 500;
    white-space: nowrap;
}

/* « Afficher les N autres » (valeurs) et « … autres filtres » (filtres d'un groupe) */
#left-column .dov-facet__more,
#left-column .dov-facet-group__more {
    display: block;
    margin: 0 0 12px 16px;
    padding: 4px 0;
    border: 0;
    background: none;
    color: var(--do-accent);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

#left-column .dov-facet-group__more {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 14px 16px;
    text-align: left;
}

#left-column .dov-facet-group__more::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 16px;
    height: 1px;
    background: var(--do-line);
}

#left-column .dov-facet__more:hover,
#left-column .dov-facet-group__more:hover {
    text-decoration: underline;
}

/* pendant une recherche, les limites ne s'appliquent pas */
#left-column .dov-facet-group.is-searching .dov-facet__more,
#left-column .dov-facet-group.is-searching .dov-facet-group__more {
    display: none;
}

/* filtre à valeur unique « Oui » : interrupteur iOS */
#left-column .dov-facet--switch {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 14px 10px 16px;
    color: var(--do-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
}

#left-column .dov-switch {
    position: relative;
    flex: none;
    width: 44px;
    height: 26px;
    border-radius: var(--do-pill);
    background: rgba(120, 120, 128, .2);
    transition: background .2s ease;
}

#left-column .dov-switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2), 0 0 1px rgba(0, 0, 0, .1);
    transition: transform .2s var(--do-ease);
}

#left-column .dov-switch__input:checked+.dov-switch {
    background: var(--do-accent);
}

#left-column .dov-switch__input:checked+.dov-switch::after {
    transform: translateX(18px);
}

@media (prefers-reduced-motion: reduce) {

    #left-column .dov-facet__chevron,
    #left-column .dov-check__box,
    #left-column .dov-check__box::after,
    #left-column .dov-switch,
    #left-column .dov-switch::after {
        transition: none;
    }
}

/* =====================================================================
   Touches du 2026-10-16 : tags de la fiche produit, signature du pied de
   page, page Support / SAV, pages des tickets (module ets_livechat),
   liens « Retour à votre compte » des pages client.
   ===================================================================== */

/* ---- Fiche produit : « Explorer par famille » (surcharge du gabarit dovehicle product_family_tags.tpl) ---- */
.do-ptags {
    margin: 28px 0 4px;
    padding: 20px;
    border-radius: var(--do-r-lg);
    background: var(--do-bg);
}

.do-ptags__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.do-ptags__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--do-ink);
    color: #fff;
}

.do-ptags__icon .do-icon {
    width: 20px;
    height: 20px;
}

#main .do-ptags__title,
.do-ptags__title {
    margin: 0;
    color: var(--do-ink);
    font-family: var(--do-display);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.01em;
    text-transform: none;
}

.do-ptags__sub {
    margin: 2px 0 0 !important;
    color: var(--do-muted);
    font-size: 13.5px !important;
}

.do-ptags__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.do-ptags__list li {
    margin: 0 !important;
    padding: 0 !important;
}

.do-ptags__list li::before,
.do-ptags__list li::marker {
    content: none;
}

.do-ptag,
.do-ptags .dovehicle-family-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 14px 0 12px;
    border: 1px solid var(--do-line-strong);
    border-radius: var(--do-pill);
    background: var(--do-surface);
    color: var(--do-ink) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color .2s var(--do-ease), border-color .2s var(--do-ease), color .2s, transform .15s var(--do-ease);
}

.do-ptag__hash {
    color: var(--do-accent);
    font-weight: 800;
}

.do-ptag__arrow {
    width: 14px;
    height: 14px;
    margin-left: 2px;
    opacity: .45;
    transition: transform .2s var(--do-ease), opacity .2s;
}

.do-ptag:hover {
    border-color: var(--do-ink);
    background: var(--do-ink);
    color: #fff !important;
}

.do-ptag:hover .do-ptag__hash {
    color: var(--do-accent-hover);
}

.do-ptag:hover .do-ptag__arrow {
    opacity: 1;
    transform: translate(2px, -2px);
}

.do-ptag:active {
    transform: scale(.97);
}

.do-ptag:focus-visible {
    outline: 2px solid var(--do-accent);
    outline-offset: 2px;
}

/* ---- Pied de page : signature ---- */
.do-footer {
    overflow: hidden;
}

.do-footer__mark {
    margin: clamp(4px, 1.4vw, 20px) 0 0;
    font-family: var(--do-display);
    /* le mot mesure ≈ 6,7 em : il tient dans la largeur du contenu (1280 px au plus), barre de défilement comprise */
    font-size: min(calc((100vw - 2 * var(--do-gutter) - 20px) / 6.8), 186px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: .74;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    color: transparent;
    background: linear-gradient(180deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .015) 78%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
    /* rogné par le bas de page : seul le haut des lettres dépasse */
    transform: translateY(14%);
}

.do-footer__mark span {
    background: linear-gradient(180deg, rgba(229, 38, 46, .5) 0%, rgba(229, 38, 46, .03) 78%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* ---- Page Support / SAV (CMS 6, _partials/do/cms-support.tpl) ---- */
/* la règle commune des pages de contenu (carte blanche sur #content) est plus spécifique */
body#cms #content.do-support {
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.do-support {
    display: grid;
    gap: clamp(16px, 2vw, 24px);
    margin-top: 8px;
}

.do-support__hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
    padding: clamp(24px, 4vw, 52px);
    overflow: hidden;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
}

/* motif de la marque : quadrillage et halo du hero de l'accueil */
.do-support__hero::before,
.do-support__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.do-support__hero::before {
    background-image:
        linear-gradient(rgba(10, 10, 20, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 10, 20, .05) 1px, transparent 1px);
    background-size: 48px 48px;
    background-position: right top;
    -webkit-mask-image: radial-gradient(ellipse 60% 130% at 100% 20%, #000 25%, transparent 72%);
    mask-image: radial-gradient(ellipse 60% 130% at 100% 20%, #000 25%, transparent 72%);
}

.do-support__hero::after {
    background: radial-gradient(circle 320px at 86% 40%, rgba(255, 149, 0, .16), rgba(229, 38, 46, .05) 55%, transparent 75%);
}

.do-support__hero>* {
    position: relative;
    z-index: 1;
}

#main .do-support__title,
.do-support__title {
    max-width: 700px;
    margin: 0;
    color: var(--do-ink);
    font-family: var(--do-display);
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.02;
    text-wrap: balance;
}

.do-support__lead {
    max-width: 620px;
    margin: 16px 0 0;
    color: var(--do-ink-2);
    font-size: clamp(15px, 1.25vw, 17px);
    line-height: 1.6;
}

.do-support__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.do-support__facts li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px 0 12px;
    border: 1px solid var(--do-line);
    border-radius: var(--do-pill);
    background: rgba(255, 255, 255, .8);
    color: var(--do-ink-2);
    font-size: 14px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.do-support__facts .do-icon {
    width: 18px;
    height: 18px;
    color: var(--do-accent);
}

.do-support__facts a {
    color: var(--do-ink);
}

.do-support__badge {
    display: grid;
    place-items: center;
    width: clamp(120px, 14vw, 180px);
    aspect-ratio: 1;
    border-radius: 36%;
    background: linear-gradient(160deg, var(--do-accent) 0%, #0f0f13 100%);
    box-shadow: var(--do-shadow-3), 0 0 0 10px rgba(229, 38, 46, .06);
    color: #fff;
    transform: rotate(-6deg);
}

.do-support__badge svg {
    width: 46%;
    height: 46%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: rotate(6deg);
}

.do-support__paths {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.do-support__path {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: clamp(22px, 3vw, 36px);
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
}

/* le parcours client, le plus fréquent, en carte sombre comme « Trouver ma pièce » */
.do-support__path--client {
    position: relative;
    background: linear-gradient(160deg, #b81c23 0%, #0f0f13 85%);
    box-shadow: var(--do-shadow-3);
    color: rgba(255, 255, 255, .92);
}

#main .do-support__path h2,
.do-support__path h2 {
    margin: 0;
    color: var(--do-ink);
    font-family: var(--do-display);
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 800;
    letter-spacing: -.02em;
    text-transform: none;
}

#main .do-support__path--client h2,
.do-support__path--client h2,
.do-support__path--client strong {
    color: #fff;
}

.do-support__path p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.do-support__tag {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 11px;
    border-radius: var(--do-pill);
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.do-support__tag--light {
    background: var(--do-bg);
    color: var(--do-ink-2);
}

.do-support__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
}

.do-support__ctas .do-btn {
    min-height: 50px;
    padding: 0 22px;
}

.do-support__ctas .do-icon {
    width: 18px;
    height: 18px;
}

.do-support__note {
    color: var(--do-muted);
    font-size: 13px !important;
}

.do-support__path--client .do-support__note {
    color: rgba(255, 255, 255, .78);
}

.do-support__block {
    padding: clamp(22px, 3vw, 40px);
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
}

#main .do-support__h2,
.do-support__h2 {
    margin: 0 0 20px;
    color: var(--do-ink);
    font-family: var(--do-display);
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 800;
    letter-spacing: -.02em;
    text-transform: none;
}

.do-support__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.do-support__steps li {
    position: relative;
    margin: 0;
    padding: 20px;
    border-radius: var(--do-r-lg);
    background: var(--do-bg);
}

.do-support__num {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: var(--do-ink);
    color: #fff;
    font-family: var(--do-display);
    font-size: 15px;
    font-weight: 800;
}

#main .do-support__steps h3,
.do-support__steps h3 {
    margin: 0 0 6px;
    color: var(--do-ink);
    font-family: var(--do-font);
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
}

.do-support__steps p {
    margin: 0;
    color: var(--do-ink-2);
    font-size: 14.5px;
    line-height: 1.6;
}

.do-support__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.do-support__links a {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 14px 44px 14px 14px;
    position: relative;
    border: 1px solid var(--do-line);
    border-radius: var(--do-r-lg);
    color: var(--do-ink);
    transition: border-color .2s var(--do-ease), background-color .2s var(--do-ease), transform .15s var(--do-ease);
}

.do-support__links a::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    opacity: .4;
    transform: translateY(-50%) rotate(45deg);
    transition: right .2s var(--do-ease), opacity .2s;
}

.do-support__links a:hover {
    border-color: var(--do-line-strong);
    background: var(--do-surface-2);
}

.do-support__links a:hover::after {
    right: 14px;
    opacity: 1;
}

.do-support__links a:focus-visible {
    outline: 2px solid var(--do-accent);
    outline-offset: 2px;
}

.do-support__licon {
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--do-accent-soft);
    color: var(--do-accent);
}

.do-support__licon .do-icon {
    width: 22px;
    height: 22px;
}

.do-support__links strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
}

.do-support__links small {
    display: block;
    margin-top: 2px;
    color: var(--do-muted);
    font-size: 13px;
}

@media (max-width: 991.98px) {
    .do-support__hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .do-support__badge {
        display: none;
    }

    .do-support__paths,
    .do-support__steps {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 575.98px) {
    .do-support__links {
        grid-template-columns: minmax(0, 1fr);
    }

    .do-support__ctas .do-btn {
        width: 100%;
        white-space: normal;
        text-align: center;
    }
}

/* ---- Pages client : liens « Retour à votre compte / Page d'accueil » (thème d'origine : pavés orange) ---- */
.page-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

#main .page-footer a,
.page-footer a.account-link,
.page-footer a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    margin: 0;
    padding: 0 18px 0 14px;
    border: 1px solid var(--do-line-strong);
    border-radius: var(--do-pill);
    background: var(--do-surface);
    color: var(--do-ink);
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    box-shadow: none;
    transition: border-color .2s, background-color .2s;
}

.page-footer a:hover {
    border-color: var(--do-ink);
    background: var(--do-surface-2);
    color: var(--do-ink);
}

.page-footer a .material-icons {
    font-size: 18px;
    color: var(--do-muted);
}

/* ---- Tickets de support (module ets_livechat) : formulaire et liste ---- */
#content.ets_livechat_form,
.ets_livechat_form {
    padding: 0 !important;
    border: 0;
    background: transparent !important;
    box-shadow: none !important;
}

.ets_livechat_form .panel,
.lc_tickets .lc-panel {
    margin: 0;
    padding: clamp(22px, 3vw, 40px);
    border: 0;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
}

.ets_livechat_form .panel-heading {
    margin: 0 0 24px;
    padding: 0 0 20px;
    border-bottom: 1px solid var(--do-line);
    background: none;
}

.ets_livechat_form .ticket_heading,
.ets_livechat_form .panel-heading h3,
.lc_tickets .panel-heading {
    margin: 0;
    color: var(--do-ink);
    font-family: var(--do-display);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    text-transform: none;
}

.ets_livechat_form .panel-heading .desc {
    margin-top: 10px;
    color: var(--do-muted);
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.6;
    text-transform: none;
}

/* consigne saisie en rouge et en capitales au back-office : encart lisible */
.ets_livechat_form .panel-heading .desc span[style*="red"] {
    display: block;
    margin: 10px 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--do-red-soft);
    color: #b3171e !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
}

.ets_livechat_form .panel-heading .desc a {
    color: var(--do-ink);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ets_livechat_form .form-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.ets_livechat_form .form-group.row {
    margin: 0;
}

.ets_livechat_form .form-group.row>[class*="col-"] {
    width: 100%;
    max-width: none;
    padding: 0;
    flex: none;
}

/* nom, e-mail, téléphone (classes posées par le module) sur deux colonnes ; sujet, message, fichier, captcha
   en pleine largeur, quel que soit le formulaire */
.ets_livechat_form .form-fields>* {
    grid-column: 1 / -1;
}

.ets_livechat_form .form-fields>.form-group:has(.is_contact_name),
.ets_livechat_form .form-fields>.form-group:has(.is_contact_mail),
.ets_livechat_form .form-fields>.form-group:has(.is_customer_phone_number) {
    grid-column: auto;
}

.ets_livechat_form .form-control-label {
    display: block;
    margin: 0 0 6px;
    padding: 0;
    color: var(--do-ink);
    font-size: 13.5px;
    font-weight: 700;
    text-align: left;
}

.ets_livechat_form .form-control-label.required::after {
    content: " *";
    color: var(--do-accent);
}

.ets_livechat_form .form-control {
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid var(--do-line-strong);
    border-radius: 14px;
    background: var(--do-surface);
    color: var(--do-ink);
    font-size: 15px;
    box-shadow: none;
    transition: border-color .15s, box-shadow .15s;
}

.ets_livechat_form textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

.ets_livechat_form .form-control:focus {
    border-color: var(--do-accent);
    box-shadow: 0 0 0 3px rgba(229, 38, 46, .12);
    outline: none;
}

.ets_livechat_form .form-control[readonly],
.ets_livechat_form .form-control:disabled {
    background: var(--do-bg);
    color: var(--do-ink-2);
}

.ets_livechat_form input[type="file"].form-control {
    padding: 8px;
    border-style: dashed;
    background: var(--do-surface-2);
}

.ets_livechat_form input[type="file"]::file-selector-button {
    min-height: 34px;
    margin-right: 12px;
    padding: 0 14px;
    border: 0;
    border-radius: var(--do-pill);
    background: var(--do-ink);
    color: #fff;
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
}

.ets_livechat_form .help-block {
    margin-top: 6px;
    color: var(--do-muted);
    font-size: 12.5px;
    font-style: normal;
}

.ets_livechat_form .form-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--do-line);
}

.ets_livechat_form .submit_send_ticket {
    min-height: 52px;
    padding: 0 26px;
    font-size: 15.5px;
}

.ets_livechat_form .submit_send_ticket svg {
    display: none;
}

/* liste des tickets : le conteneur du module a son propre fond blanc et ses marges (cadre dans le cadre) */
.lc_tickets {
    padding: 0 !important;
    background: transparent !important;
}

.lc_tickets .panel-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    padding: 0;
    border: 0;
    background: none;
}

.lc_tickets .panel-heading .badge {
    display: inline-grid;
    place-items: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border: 0;
    border-radius: var(--do-pill);
    background: var(--do-bg);
    color: var(--do-ink-2);
    font-family: var(--do-font);
    font-size: 13px;
    font-weight: 700;
}

.lc_tickets .panel-heading-action {
    margin-left: auto;
}

.lc_tickets .submit_new_ticket_bt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: var(--do-pill);
    background: var(--do-accent);
    color: #fff;
    font-family: var(--do-font);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
}

/* le module y met déjà son icône (+ cerclé, en SVG) */
.lc_tickets .submit_new_ticket_bt svg {
    fill: currentColor;
}

.lc_tickets .submit_new_ticket_bt:hover {
    background: var(--do-accent-hover);
}

.lc_tickets .table {
    margin: 0;
    border: 1px solid var(--do-line);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--do-r-lg);
    overflow: hidden;
}

.lc_tickets .table th,
.lc_tickets .table td {
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid var(--do-line);
    vertical-align: middle;
}

.lc_tickets .table thead tr:first-child th {
    background: var(--do-bg);
    color: var(--do-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.lc_tickets .table input[type="text"],
.lc_tickets .table select {
    width: 100%;
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid var(--do-line-strong);
    border-radius: 10px;
    background: var(--do-surface);
    font-size: 14px;
}

.lc_tickets .table tbody tr:last-child td {
    border-bottom: 0;
}

.lc_tickets .table tbody td[colspan] {
    padding: 36px 14px;
    color: var(--do-muted);
    text-align: center;
}

.lc_tickets #submitFilterTicket {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--do-line-strong);
    border-radius: var(--do-pill);
    background: var(--do-surface);
    color: var(--do-ink);
    font-size: 13.5px;
    font-weight: 600;
}

.lc_tickets #submitFilterTicket svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

.lc_tickets #submitFilterTicket:disabled {
    opacity: .5;
}

.lc_tickets .date_range {
    display: grid;
    gap: 6px;
    margin: 0;
}

.lc_tickets .date_range .input-group {
    width: 100%;
}

@media (max-width: 767.98px) {
    .ets_livechat_form .form-fields {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* =====================================================================
   Espace client (2026-10-20)
   customer/page.tpl : menu (_partials/do/account-nav.tpl) + colonne principale (.do-acc) pour toutes les pages
   du compte, y compris celles des modules (favoris, données personnelles, tickets, cartes enregistrées).
   ===================================================================== */
:root {
    --do-i-home: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11.5 12 5l8 6.5V19a1 1 0 0 1-1 1h-4.5v-5h-5v5H5a1 1 0 0 1-1-1z'/%3E%3C/svg%3E");
    --do-i-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.6'/%3E%3Cpath d='M5 20c.8-3.6 3.6-5.6 7-5.6s6.2 2 7 5.6'/%3E%3C/svg%3E");
    --do-i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-5.6-6.5-11a6.5 6.5 0 0 1 13 0c0 5.4-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E");
    --do-i-box: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 7.5 12 3l8.5 4.5v9L12 21l-8.5-4.5z'/%3E%3Cpath d='M3.5 7.5 12 12l8.5-4.5M12 12v9'/%3E%3C/svg%3E");
    --do-i-slip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3.5h12v17l-3-2-3 2-3-2-3 2z'/%3E%3Cpath d='M9 8.5h6M9 12h6'/%3E%3C/svg%3E");
    --do-i-ticket: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 9V6.5a1 1 0 0 1 1-1h15a1 1 0 0 1 1 1V9a3 3 0 0 0 0 6v2.5a1 1 0 0 1-1 1h-15a1 1 0 0 1-1-1V15a3 3 0 0 0 0-6z'/%3E%3Cpath d='M14.5 6v2M14.5 11v2M14.5 16v2'/%3E%3C/svg%3E");
    --do-i-return: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14 4 9l5-5'/%3E%3Cpath d='M4 9h10.5a5.5 5.5 0 0 1 0 11H11'/%3E%3C/svg%3E");
    --do-i-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.6-7.5-10.2A4.3 4.3 0 0 1 12 7.4a4.3 4.3 0 0 1 7.5 2.4C19.5 15.4 12 20 12 20z'/%3E%3C/svg%3E");
    --do-i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5 5 6v5.5c0 4.4 3 7.6 7 9 4-1.4 7-4.6 7-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
    --do-i-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 6.5a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H10l-4 3.5v-3.5a1.5 1.5 0 0 1-1.5-1.5z'/%3E%3Cpath d='M8.5 9.5h7M8.5 12.5h4'/%3E%3C/svg%3E");
    --do-i-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2.5'/%3E%3Cpath d='M3 10h18M7 15h4'/%3E%3C/svg%3E");
    --do-i-out: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4.5h4a1.5 1.5 0 0 1 1.5 1.5v12a1.5 1.5 0 0 1-1.5 1.5h-4'/%3E%3Cpath d='M10 8l-4 4 4 4M6 12h9'/%3E%3C/svg%3E");
    --do-i-dot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
    --do-i-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
}

.do-cust {
    padding-bottom: 24px;
}

.do-cust__main {
    min-width: 0;
}

@media (min-width: 992px) {
    .do-cust--menu {
        display: grid;
        grid-template-columns: 272px minmax(0, 1fr);
        align-items: start;
        gap: 32px;
    }
}

/* contenu : carte blanche par défaut (formulaires, listes) ; les pages faites de cartes la rendent transparente.
   La règle commune des pages de contenu porte 5 id : !important nécessaire. */
.do-acc>#content.page-content {
    margin: 0;
    padding: clamp(20px, 2.6vw, 32px);
}

.do-cust--my-account .do-acc>#content,
.do-cust--addresses .do-acc>#content,
.do-cust--order-detail .do-acc>#content,
.do-cust--guest-tracking .do-acc>#content,
.do-cust--module-psgdpr-gdpr .do-acc>#content,
.do-acc>#content.do-acc-module {
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.do-acc .page-header h1 {
    margin: 4px 0 20px;
}

.do-acc__intro {
    margin: 0 0 18px;
    color: var(--do-muted);
    font-size: 14.5px;
}

/* le menu remplace les liens « Retour à votre compte / Accueil » que gardent certains modules */
.do-cust--menu .page-footer a.account-link:not(.do-acc-back-tickets) {
    display: none;
}

.do-cust--menu .page-footer:not(:has(a:not(.account-link), .do-acc-back-tickets)) {
    display: none;
}

.do-cust__back {
    display: none;
}

/* ---- Menu ---- */
.do-acc-nav {
    padding: 10px;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
}

@media (min-width: 992px) {
    .do-acc-nav {
        position: sticky;
        top: calc(var(--do-header-h) + 70px);
    }
}

.do-acc-nav__me {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 8px;
    padding: 12px 10px 16px;
    border-bottom: 1px solid var(--do-line);
}

.do-acc-nav__avatar {
    display: grid;
    place-items: center;
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--do-accent-hover), var(--do-red));
    color: #fff;
    font-family: var(--do-display);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .02em;
    box-shadow: 0 6px 16px -8px rgba(229, 38, 46, .8);
}

.do-acc-nav__who {
    display: grid;
    min-width: 0;
}

.do-acc-nav__who strong {
    overflow: hidden;
    color: var(--do-ink);
    font-size: 15px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.do-acc-nav__who small {
    overflow: hidden;
    color: var(--do-muted);
    font-size: 12.5px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.do-acc-nav__links {
    display: grid;
    gap: 2px;
}

/* liens des modules (hook displayCustomerAccount) : même aspect que ceux du thème */
.do-acc-nav__hook,
.do-acc-nav__hook li {
    display: contents;
}

.do-acc-nav__links a,
.do-acc-nav__out {
    display: flex !important;
    align-items: center;
    gap: 12px;
    width: auto !important;
    max-width: none !important;
    min-height: 44px;
    margin: 0 !important;
    padding: 0 12px !important;
    float: none !important;
    border-radius: 12px;
    color: var(--do-ink-2);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    transition: background-color .15s, color .15s;
}

.do-acc-nav__links a::before,
.do-acc-nav__out::before {
    content: "";
    flex: none;
    width: 20px;
    height: 20px;
    background: currentColor;
    opacity: .75;
    -webkit-mask: var(--do-i, var(--do-i-dot)) center / contain no-repeat;
    mask: var(--do-i, var(--do-i-dot)) center / contain no-repeat;
}

.do-acc-nav .link-item {
    display: contents !important;
    color: inherit !important;
}

.do-acc-nav .material-icons,
.do-acc-nav .ss_icon_group {
    display: none !important;
}

@media (hover: hover) {

    .do-acc-nav__links a:hover,
    .do-acc-nav__out:hover {
        background: var(--do-bg);
        color: var(--do-ink);
    }
}

.do-acc-nav__links a[aria-current="page"],
#module-blockwishlist-lists #wishlist-link,
#module-psgdpr-gdpr #psgdpr-link,
#module-ets_livechat-ticket #chat-tickets-link,
#module-paybox-storedcards #up2pay-tokens {
    background: var(--do-ink);
    color: #fff;
}

.do-acc-nav__links a[aria-current="page"]::before,
#module-blockwishlist-lists #wishlist-link::before,
#module-psgdpr-gdpr #psgdpr-link::before,
#module-ets_livechat-ticket #chat-tickets-link::before,
#module-paybox-storedcards #up2pay-tokens::before {
    opacity: 1;
}

.do-acc-nav__links a:focus-visible,
.do-acc-nav__out:focus-visible {
    outline: none;
    box-shadow: var(--do-ring);
}

#do-acc-home {
    --do-i: var(--do-i-home);
}

#identity-link {
    --do-i: var(--do-i-user);
}

#addresses-link,
#address-link {
    --do-i: var(--do-i-pin);
}

#history-link {
    --do-i: var(--do-i-box);
}

#order-slips-link {
    --do-i: var(--do-i-slip);
}

#discounts-link {
    --do-i: var(--do-i-ticket);
}

#returns-link {
    --do-i: var(--do-i-return);
}

#wishlist-link {
    --do-i: var(--do-i-heart);
}

#psgdpr-link {
    --do-i: var(--do-i-shield);
}

#chat-tickets-link {
    --do-i: var(--do-i-chat);
}

#up2pay-tokens {
    --do-i: var(--do-i-card);
}

.do-acc-nav__out {
    --do-i: var(--do-i-out);
    margin-top: 8px !important;
    border-top: 1px solid var(--do-line);
    border-radius: 0 0 12px 12px;
    color: var(--do-muted);
    padding-top: 6px !important;
}

/* ---- Sous 992 px : liste façon réglages iOS sur le tableau de bord, lien « Mon compte » ailleurs ---- */
@media (max-width: 991.98px) {
    .do-cust--menu {
        display: flex;
        flex-direction: column;
    }

    .do-cust--menu:not(.do-cust--my-account) .do-acc-nav {
        display: none;
    }

    .do-cust--my-account .do-acc-nav {
        order: 2;
        margin-top: 20px;
        padding: 6px;
    }

    .do-cust--my-account .do-acc-nav__me {
        display: none;
    }

    .do-acc-nav__links a {
        min-height: 52px;
    }

    .do-acc-nav__links a:not(:last-child),
    .do-acc-nav__links a {
        position: relative;
    }

    .do-acc-nav__links a::after {
        content: "";
        width: 16px;
        height: 16px;
        margin-left: auto;
        background: var(--do-muted);
        opacity: .6;
        -webkit-mask: var(--do-i-chev) center / contain no-repeat;
        mask: var(--do-i-chev) center / contain no-repeat;
    }

    .do-acc-nav__links a[aria-current="page"] {
        background: transparent;
        color: var(--do-ink-2);
    }

    .do-cust__back {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        margin: 0 0 6px -6px;
        padding: 6px 10px 6px 4px;
        border-radius: var(--do-pill);
        color: var(--do-ink-2);
        font-size: 14px;
        font-weight: 600;
    }

    .do-cust__back .do-icon {
        width: 18px;
        height: 18px;
    }
}

/* ---- Pastille d'état de commande (couleur de l'état en point, texte neutre : certaines couleurs du
   back-office sont trop claires pour un fond plein) ---- */
.do-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 5px 12px 5px 10px;
    border-radius: var(--do-pill);
    background: var(--do-bg);
    color: var(--do-ink-2);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.do-status i {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(10, 10, 20, .06);
}

.do-status--lg {
    padding: 7px 14px 7px 12px;
    font-size: 14px;
}

/* ---- États vides ---- */
.do-empty {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: clamp(28px, 5vw, 56px) 16px;
    text-align: center;
}

.do-empty__icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 6px;
    border-radius: 20px;
    background: var(--do-bg);
    color: var(--do-ink-2);
}

.do-empty__icon .do-icon {
    width: 28px;
    height: 28px;
}

.do-empty h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.do-empty p {
    max-width: 440px;
    margin: 0 0 8px;
    color: var(--do-muted);
    font-size: 14.5px;
    line-height: 1.55;
}

.do-empty--inline {
    justify-items: start;
    padding: 4px 0 0;
    text-align: left;
}

.do-empty--inline .do-empty__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
}

/* le contrôleur ajoute un avertissement (« Vous n'avez reçu aucun avoir »…) : l'état vide le remplace */
#content:has(.do-empty) .alert-warning {
    display: none;
}

/* ---- Tableau de bord ---- */
.do-dash__hero {
    position: relative;
    margin: 0 0 20px;
    padding: clamp(24px, 3.4vw, 40px);
    overflow: hidden;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
}

.do-dash__hero::before,
.do-dash__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.do-dash__hero::before {
    background-image:
        linear-gradient(rgba(10, 10, 20, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 10, 20, .05) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: right top;
    -webkit-mask-image: radial-gradient(ellipse 55% 130% at 100% 0%, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse 55% 130% at 100% 0%, #000 20%, transparent 70%);
}

.do-dash__hero::after {
    background: radial-gradient(circle 300px at 92% 8%, rgba(255, 149, 0, .14), rgba(229, 38, 46, .05) 55%, transparent 75%);
}

.do-dash__hero>* {
    position: relative;
    z-index: 1;
}

.do-dash__title {
    margin: 0 0 8px;
    font-family: var(--do-display);
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.04;
}

.do-dash__lead {
    max-width: 520px;
    margin: 0;
    color: var(--do-muted);
    font-size: 15.5px;
}

.do-dash__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.do-dash__stats li {
    padding: 7px 14px;
    border-radius: var(--do-pill);
    background: var(--do-bg);
    color: var(--do-ink-2);
    font-size: 13.5px;
}

.do-dash__stats strong {
    color: var(--do-ink);
    font-variant-numeric: tabular-nums;
}

.do-dash__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.do-dash__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 24px;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
}

.do-dash__card--order {
    grid-column: 1 / -1;
    align-items: stretch;
}

.do-dash__card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.do-dash__card h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.do-dash__card .do-link {
    font-size: 14px;
}

.do-dash__muted {
    margin: 0;
    color: var(--do-muted);
    font-size: 14.5px;
    line-height: 1.55;
}

.do-dash__card .do-btn {
    margin-top: auto;
}

.do-dash__order {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "ref total"
        "status status"
        "meta go";
    align-items: center;
    gap: 10px 16px;
    padding: 18px 20px;
    border: 1px solid var(--do-line);
    border-radius: var(--do-r-lg);
    background: var(--do-surface-2);
    color: var(--do-ink);
    transition: border-color .2s, background-color .2s;
}

@media (hover: hover) {
    .do-dash__order:hover {
        border-color: var(--do-line-strong);
        background: var(--do-surface);
        color: var(--do-ink);
    }

    .do-dash__order:hover .do-dash__order-go .do-icon {
        transform: translateX(3px);
    }
}

.do-dash__order-ref {
    grid-area: ref;
    font-family: var(--do-display);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .01em;
}

.do-dash__order .do-status {
    grid-area: status;
    justify-self: start;
    background: var(--do-surface);
    box-shadow: inset 0 0 0 1px var(--do-line);
}

.do-dash__order-meta {
    grid-area: meta;
    color: var(--do-muted);
    font-size: 13.5px;
}

.do-dash__order-total {
    grid-area: total;
    font-size: 18px;
    font-variant-numeric: tabular-nums;
}

.do-dash__order-go {
    grid-area: go;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
}

.do-dash__order-go .do-icon {
    width: 16px;
    height: 16px;
    transition: transform .2s var(--do-ease);
}

.do-dash__alias {
    margin: 0;
    font-weight: 700;
}

.do-dash__address,
.do-address address,
.do-od__addresses address {
    margin: 0;
    color: var(--do-ink-2);
    font-size: 14.5px;
    font-style: normal;
    line-height: 1.6;
}

.do-dash__card--help {
    background: linear-gradient(160deg, #fff 40%, #fff5ea);
}

/* ---- Listes : commandes, avoirs ---- */
.do-orders {
    margin: 0;
    padding: 0;
    list-style: none;
}

.do-order {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 20px;
    padding: 16px 0;
    border-top: 1px solid var(--do-line);
}

.do-order:first-child {
    border-top: 0;
    padding-top: 4px;
}

.do-order:last-child {
    padding-bottom: 4px;
}

.do-order__main {
    display: grid;
    gap: 2px;
    min-width: 0;
    color: var(--do-ink);
}

.do-order__ref {
    font-size: 15.5px;
    font-weight: 700;
    letter-spacing: .01em;
}

.do-order__main:hover .do-order__ref {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.do-order__date {
    color: var(--do-muted);
    font-size: 13.5px;
}

.do-order .do-status {
    justify-self: start;
}

.do-order__total {
    display: grid;
    gap: 2px;
    min-width: 0;
    font-size: 15.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.do-order__total small {
    overflow: hidden;
    color: var(--do-muted);
    font-size: 12.5px;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.do-order__total .do-link {
    font-size: 14.5px;
}

.do-order__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.do-order__actions .do-btn {
    margin-left: 6px;
}

.do-order__actions .do-btn .do-icon {
    width: 17px;
    height: 17px;
}

@media (max-width: 767.98px) {
    .do-order {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "main total"
            "status status"
            "actions actions";
    }

    .do-order__main {
        grid-area: main;
    }

    .do-order .do-status {
        grid-area: status;
    }

    .do-order__total {
        grid-area: total;
        text-align: right;
    }

    .do-order__actions {
        grid-area: actions;
        justify-content: flex-start;
    }

    .do-order__actions .do-btn {
        margin-left: auto;
    }
}

/* ---- Bons de réduction : tickets ---- */
.do-vouchers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.do-voucher {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--do-line);
    border-radius: var(--do-r-lg);
    background: var(--do-surface);
}

.do-voucher__value {
    display: grid;
    place-items: center;
    padding: 16px 10px;
    border-right: 2px dashed rgba(255, 255, 255, .5);
    background: linear-gradient(160deg, var(--do-accent-hover), var(--do-red));
    color: #fff;
    font-family: var(--do-display);
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    line-height: 1.1;
}

.do-voucher__body {
    padding: 16px 18px;
}

.do-voucher__name {
    margin: 0 0 8px;
    font-weight: 700;
}

.do-voucher__code {
    margin: 0 0 10px;
    color: var(--do-muted);
    font-size: 13px;
}

.do-voucher__code code {
    padding: 4px 10px;
    border: 1px dashed var(--do-line-strong);
    border-radius: 8px;
    background: var(--do-bg);
    color: var(--do-ink);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    user-select: all;
}

.do-voucher__terms {
    margin: 0;
    padding: 0;
    color: var(--do-muted);
    font-size: 12.5px;
    line-height: 1.6;
    list-style: none;
}

/* ---- Adresses ---- */
.do-addresses {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.do-address {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 22px;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
}

.do-address .address-body {
    padding: 0;
}

.do-address__alias {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-family: var(--do-font);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.005em;
    text-transform: none;
}

.do-address__alias .do-icon {
    color: var(--do-accent);
}

.do-address__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding: 0;
    border: 0;
}

/* theme.css peint .address-footer a en orange (0,1,1) : il faut un sélecteur plus précis */
.do-address .do-address__actions .do-btn {
    margin: 0;
    padding: 0 14px;
    background: var(--do-surface);
    color: var(--do-ink);
    font-size: 13px;
}

.do-address__actions .do-btn .do-icon {
    width: 16px;
    height: 16px;
}

.do-address .do-address__actions .do-address__del:hover {
    border-color: var(--do-red);
    background: var(--do-red-soft);
    color: #b3141b;
}

.do-address-add {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 220px;
    padding: 22px;
    border: 2px dashed var(--do-line-strong);
    border-radius: var(--do-r-xl);
    color: var(--do-ink);
    font-weight: 700;
    transition: border-color .2s, background-color .2s;
}

.do-address-add__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--do-ink);
    color: #fff;
    transition: transform .2s var(--do-ease), background-color .2s;
}

.do-address-add:hover {
    border-color: var(--do-accent);
    background: var(--do-surface);
    color: var(--do-ink);
}

.do-address-add:hover .do-address-add__icon {
    background: var(--do-accent);
    transform: rotate(90deg);
}

/* ---- Formulaires (mes informations, adresse) : colonne de lecture, paires de champs côte à côte ---- */
.do-acc #customer-form,
.do-acc .address-form {
    max-width: 680px;
}

/* pages formulaire : la carte suit la colonne de lecture */
.do-cust--identity .do-acc>#content,
.do-cust--address .do-acc>#content {
    max-width: 760px;
}

.do-acc .js-address-form .form-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
}

.do-acc .js-address-form .form-fields>* {
    grid-column: 1 / -1;
}

/* paires voisines dans l'ordre du formulaire (pas de réordonnancement : l'ordre de tabulation reste celui affiché) */
.do-acc .js-address-form .form-fields>.form-group:is(:has(#field-firstname), :has(#field-lastname), :has(#field-company), :has(#field-vat_number), :has(#field-postcode), :has(#field-city)) {
    grid-column: auto;
}

.do-acc .form-footer {
    display: flex;
    margin-top: 10px;
}

.do-acc .form-footer .btn {
    width: auto !important;
    min-width: 220px;
    float: none !important;
}

.do-acc select.form-control {
    height: 50px;
    border-radius: var(--do-r);
}

@media (max-width: 575.98px) {

    .do-acc .js-address-form .form-fields,
    .do-acc #customer-form>section {
        grid-template-columns: 1fr !important;
    }

    .do-acc .form-footer .btn {
        width: 100% !important;
    }
}

/* ---- Détail d'une commande ---- */
.do-od__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px 24px;
    margin: 0 0 20px;
    padding: 24px;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
}

.do-od__summary p {
    margin: 12px 0 0;
    color: var(--do-muted);
    font-size: 14.5px;
}

.do-od__summary strong {
    color: var(--do-ink);
}

.do-od__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.do-od__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 32px;
    grid-column: 1 / -1;
    margin: 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--do-line);
}

.do-od__facts dt,
.do-od__list dt {
    color: var(--do-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.do-od__facts dd {
    margin: 2px 0 0;
    font-weight: 600;
}

.do-od__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    align-items: start;
    gap: 20px;
}

.do-od__col {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.do-od__card {
    min-width: 0;
    margin: 0;
    padding: 24px;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
}

.do-od__h2 {
    margin: 0 0 16px;
    font-family: var(--do-font);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.01em;
    text-transform: none;
}

.do-od__muted {
    margin: -8px 0 16px;
    color: var(--do-muted);
    font-size: 14px;
}

.do-od__items {
    margin: 0;
    padding: 0;
    list-style: none;
}

.do-od__item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--do-line);
}

.do-od__item:first-child {
    padding-top: 0;
    border-top: 0;
}

.do-od__thumb {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 14px;
    background: var(--do-studio);
    color: var(--do-muted);
}

.do-od__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.do-od__desc {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.do-od__name {
    display: -webkit-box;
    overflow: hidden;
    color: var(--do-ink);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.do-od__name:hover {
    color: var(--do-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.do-od__desc small {
    color: var(--do-muted);
    font-size: 12.5px;
}

.do-od__qty {
    color: var(--do-muted);
    font-size: 13.5px;
    white-space: nowrap;
}

.do-od__line {
    min-width: 76px;
    font-size: 15px;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.do-od__totals {
    display: grid;
    gap: 8px;
    margin: 6px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--do-line);
}

.do-od__totals>div,
.do-od__list>div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.do-od__totals dt {
    color: var(--do-muted);
    font-weight: 500;
}

.do-od__totals dd {
    margin: 0;
    font-variant-numeric: tabular-nums;
}

.do-od__totals .do-od__grand {
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--do-line);
}

.do-od__totals .do-od__grand dt,
.do-od__totals .do-od__grand dd {
    color: var(--do-ink);
    font-size: 18px;
    font-weight: 800;
}

.do-od__list {
    display: grid;
    gap: 10px;
    margin: 0;
}

.do-od__list>div {
    align-items: baseline;
}

.do-od__list dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
}

.do-od__tracking a {
    color: var(--do-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* suivi : frise verticale, l'état le plus récent en haut */
.do-timeline {
    position: relative;
    display: grid;
    gap: 16px;
    margin: 0 0 4px;
    padding: 0;
    list-style: none;
}

.do-timeline::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 5px;
    width: 2px;
    border-radius: 2px;
    background: var(--do-line);
}

.do-timeline__step {
    position: relative;
    display: grid;
    gap: 1px;
    padding-left: 26px;
    color: var(--do-muted);
}

.do-timeline__step i {
    position: absolute;
    top: 4px;
    left: 0;
    width: 12px;
    height: 12px;
    border: 2px solid var(--do-surface);
    border-radius: 50%;
    background: #c7c7cc;
    box-shadow: 0 0 0 1px var(--do-line-strong);
}

.do-timeline__step strong {
    font-size: 14px;
    font-weight: 600;
}

.do-timeline__step span {
    font-size: 12.5px;
}

.do-timeline__step.is-current {
    color: var(--do-ink);
}

.do-timeline__step.is-current i {
    background: var(--c, var(--do-green));
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--do-green)) 22%, transparent);
}

.do-timeline__step.is-current strong {
    font-weight: 700;
}

.do-timeline+.do-btn {
    margin-top: 18px;
}

.do-od__addresses {
    display: grid;
    gap: 18px;
}

.do-od__addresses h3 {
    margin: 0 0 6px;
    color: var(--do-muted);
    font-family: var(--do-font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.do-od__msgs {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.do-od__msgs li {
    padding: 14px 16px;
    border-radius: var(--do-r);
    background: var(--do-bg);
}

.do-od__msg-meta {
    margin: 0 0 4px;
    color: var(--do-muted);
    font-size: 12.5px;
}

.do-od__msg-text {
    font-size: 14.5px;
}

.do-od__field {
    display: grid;
    gap: 7px;
    margin: 0 0 14px;
}

.do-od__field label {
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
}

.do-od__field .form-control {
    width: 100%;
    border-radius: var(--do-r);
    font-size: 15px;
}

.do-od__field select.form-control {
    height: 48px;
}

.do-od__field textarea.form-control {
    min-height: 110px;
    padding: 12px 14px;
}

@media (max-width: 1199.98px) {
    .do-od__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767.98px) {
    .do-od__head {
        grid-template-columns: minmax(0, 1fr);
    }

    .do-od__actions {
        justify-content: flex-start;
    }

    .do-od__item {
        grid-template-columns: 56px minmax(0, 1fr) auto;
        grid-template-areas:
            "thumb desc desc"
            "thumb qty line";
        gap: 6px 12px;
    }

    .do-od__thumb {
        grid-area: thumb;
        width: 56px;
        height: 56px;
        align-self: start;
    }

    .do-od__desc {
        grid-area: desc;
    }

    .do-od__qty {
        grid-area: qty;
    }

    .do-od__line {
        grid-area: line;
    }

    .do-od__card,
    .do-od__head {
        padding: 20px;
    }
}

/* ---- Données personnelles (psgdpr) ---- */
.do-gdpr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.do-gdpr__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 26px;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
}

.do-gdpr__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 4px;
    border-radius: 14px;
    background: var(--do-bg);
}

.do-gdpr__card h2 {
    margin: 0;
    font-family: var(--do-font);
    font-size: 18px;
    font-weight: 700;
    text-transform: none;
}

.do-gdpr__card p {
    margin: 0;
    color: var(--do-ink-2);
    font-size: 14.5px;
    line-height: 1.6;
}

.do-gdpr__card .do-link {
    display: inline;
    text-decoration: underline;
    text-decoration-color: var(--do-line-strong);
    text-underline-offset: 3px;
}

.do-gdpr__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
}

/* ---- Cartes enregistrées (paybox) ---- */
.do-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.do-paycard {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    gap: 8px;
    aspect-ratio: 1.586;
    padding: 20px 22px;
    border-radius: 18px;
    background: radial-gradient(circle at 85% 0%, rgba(255, 149, 0, .35), transparent 55%), linear-gradient(150deg, #24242b, var(--do-dark));
    color: #fff;
    box-shadow: var(--do-shadow-2);
}

.do-paycard__type {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.do-paycard__chip {
    width: 38px;
    height: 28px;
    border-radius: 6px;
    background: linear-gradient(135deg, #e9d18f, #b8954a);
}

.do-paycard__num {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .08em;
    font-variant-numeric: tabular-nums;
}

.do-paycard__exp {
    color: rgba(255, 255, 255, .7);
    font-size: 12.5px;
}

.do-paycard__del {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 12px;
    border-radius: var(--do-pill);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
}

.do-paycard__del:hover {
    background: var(--do-red);
    color: #fff;
}

/* ---- Espace client : petits écrans ---- */
@media (max-width: 767.98px) {

    .do-dash__grid,
    .do-gdpr {
        grid-template-columns: minmax(0, 1fr);
    }

    .do-dash__card,
    .do-gdpr__card {
        padding: 20px;
    }
}

/* ---- Favoris (blockwishlist, application Vue) ---- */
.do-cust--module-blockwishlist-lists .wishlist-container-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    margin: 4px 0 20px;
}

.do-cust--module-blockwishlist-lists .wishlist-container-header h1 {
    margin: 0;
    font-family: var(--do-display);
    font-size: var(--do-fs-h1);
    font-weight: 800;
    letter-spacing: -.02em;
}

.do-cust--module-blockwishlist-lists .wishlist-add-to-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px 0 14px;
    border: 1px solid var(--do-line-strong);
    border-radius: var(--do-pill);
    background: var(--do-surface);
    color: var(--do-ink) !important;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .2s;
}

.do-cust--module-blockwishlist-lists .wishlist-add-to-new:hover {
    border-color: var(--do-ink);
}

.do-cust--module-blockwishlist-lists .wishlist-add-to-new .material-icons {
    color: var(--do-accent);
    font-size: 20px;
}

.do-cust--module-blockwishlist-lists #content {
    padding: 8px 12px !important;
}

.do-cust--module-blockwishlist-lists .wishlist-list {
    margin: 0;
    padding: 0;
}

.do-cust--module-blockwishlist-lists .wishlist-list-item {
    margin: 0;
    border: 0;
    border-top: 1px solid var(--do-line);
    background: none;
}

.do-cust--module-blockwishlist-lists .wishlist-list-item:first-child {
    border-top: 0;
}

.do-cust--module-blockwishlist-lists .wishlist-list-item-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 60px;
    padding: 0 8px 0 12px;
    border-radius: 12px;
    color: var(--do-ink);
    cursor: pointer;
}

.do-cust--module-blockwishlist-lists .wishlist-list-item-link:hover {
    background: var(--do-bg);
}

.do-cust--module-blockwishlist-lists .wishlist-list-item-title {
    margin: 0;
    color: var(--do-ink);
    font-size: 15px;
    font-weight: 700;
}

.do-cust--module-blockwishlist-lists .wishlist-list-item-title span {
    margin-left: 4px;
    color: var(--do-muted);
    font-weight: 500;
}

.do-cust--module-blockwishlist-lists .wishlist-list-item-right button {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--do-ink-2);
}

.do-cust--module-blockwishlist-lists .wishlist-list-item-right button:hover {
    background: var(--do-surface);
}

.do-cust--menu .wishlist-footer-links {
    display: none;
}


/* =====================================================================
   Pages annexes (2026-10-20) : 404, liste vide, suivi invité, pages d'information (CMS),
   plan du site, magasins
   ===================================================================== */

/* ---- 404 ---- */
body#pagenotfound #content.do-404 {
    max-width: none;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.do-404__hero {
    position: relative;
    display: grid;
    justify-items: center;
    padding: clamp(36px, 6vw, 72px) 20px clamp(32px, 5vw, 56px);
    overflow: hidden;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
    text-align: center;
}

.do-404__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 10, 20, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 10, 20, .055) 1px, transparent 1px);
    background-size: 44px 44px;
    background-position: center top;
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 20%, #000 25%, transparent 75%);
    mask-image: radial-gradient(ellipse 60% 70% at 50% 20%, #000 25%, transparent 75%);
    pointer-events: none;
}

.do-404__hero>* {
    position: relative;
}

/* theme.css : #pagenotfound .page-not-found p { font-size: 16px } */
#pagenotfound .do-404 .do-404__code {
    margin: 0 0 4px;
    background: linear-gradient(180deg, var(--do-ink) 30%, rgba(11, 11, 15, .25));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: var(--do-display);
    font-size: clamp(110px, 20vw, 220px);
    font-weight: 850;
    letter-spacing: -.04em;
    line-height: .9;
}

.do-404__code::first-letter {
    color: var(--do-red);
}

.do-404__title {
    margin: 0 0 10px;
    font-family: var(--do-display);
    font-size: var(--do-fs-h2);
    font-weight: 800;
    letter-spacing: -.02em;
}

#pagenotfound .do-404 .do-404__lead {
    max-width: 540px;
    margin: 0 0 24px;
    color: var(--do-muted);
    font-size: 16px;
}

.do-404__search.do-search,
.do-noresult__search.do-search {
    width: min(560px, 100%);
    margin: 0 auto;
}

/* sous 992 px, .do-search est placé dans la grille de l'en-tête (ligne 2) : pas ici */
.do-404 .do-search,
.do-noresult .do-search {
    grid-row: auto;
    grid-column: auto;
    margin-bottom: 0;
}

.do-404__search form,
.do-noresult__search form {
    background: var(--do-surface);
    border-color: var(--do-line-strong);
}

.do-404__search :is(#search_widget, .search-widget, form),
.do-noresult__search :is(#search_widget, .search-widget, form) {
    width: 100%;
    max-width: none;
    margin: 0;
}

.do-404__links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.do-404__links a {
    position: relative;
    display: grid;
    gap: 4px;
    height: 100%;
    padding: 22px 52px 22px 22px;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
    color: var(--do-ink);
    transition: box-shadow .2s, transform .2s var(--do-ease);
}

.do-404__links strong {
    font-size: 16px;
}

.do-404__links small {
    color: var(--do-muted);
    font-size: 13.5px;
}

.do-404__links .do-icon {
    position: absolute;
    top: 50%;
    right: 20px;
    margin-top: -10px;
    color: var(--do-accent);
    transition: transform .2s var(--do-ease);
}

@media (hover: hover) {
    .do-404__links a:hover {
        box-shadow: var(--do-shadow-2);
        color: var(--do-ink);
    }

    .do-404__links a:hover .do-icon {
        transform: translateX(3px);
    }
}

@media (max-width: 991.98px) {
    .do-404__links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .do-404__links {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---- Liste vide (catégorie, nouveautés, recherche) ---- */
#content.do-noresult {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: clamp(32px, 5vw, 56px) 20px !important;
    text-align: center;
}

.do-noresult h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.do-noresult>p {
    max-width: 520px;
    margin: 0 0 10px;
    color: var(--do-muted);
    font-size: 15px;
}

.do-noresult__ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

/* ---- Suivi de commande invité ---- */
body#guest-tracking #content.do-guest {
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.do-guest__card {
    position: relative;
    max-width: 520px;
    margin: 8px auto 0;
    padding: clamp(24px, 4vw, 40px);
    overflow: hidden;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-2);
}

.do-guest__card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 160px;
    background: radial-gradient(circle 220px at 100% 0%, rgba(255, 149, 0, .14), transparent 70%);
    pointer-events: none;
}

.do-guest__card>* {
    position: relative;
}

.do-guest__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: var(--do-ink);
    color: #fff;
}

.do-guest__title {
    margin: 0 0 8px;
    font-family: var(--do-display);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -.02em;
}

.do-guest__lead {
    margin: 0 0 24px;
    color: var(--do-muted);
}

.do-guest .form-footer .btn {
    width: 100% !important;
}

.do-guest__note {
    margin: 22px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--do-line);
    color: var(--do-muted);
    font-size: 14px;
}

.do-guest__note a {
    color: var(--do-ink);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--do-line-strong);
    text-underline-offset: 3px;
}

/* ---- Pages d'information (CMS) ---- */
.do-cms__head {
    margin-bottom: 20px;
}

.do-cms__head .do-eyebrow {
    margin-bottom: 10px;
}

.do-cms__lead {
    max-width: 640px;
    margin: 10px 0 0;
    color: var(--do-muted);
    font-size: 15.5px;
}

body#cms #content.do-cms {
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.do-cms__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 24px;
}

.do-cms__body {
    min-width: 0;
    padding: clamp(22px, 3.4vw, 44px);
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
    color: var(--do-ink-2);
    font-size: 15.5px;
    line-height: 1.7;
}

/* contenu saisi au back-office : polices, tailles (8 pt dans les CGU) et familles en ligne neutralisées,
   la mise en forme (marges, encadrés) est gardée */
.do-cms__body [style*="font-size"] {
    font-size: inherit !important;
}

.do-cms__body [style*="font-family"],
.do-cms__body [style*="font:"] {
    font-family: inherit !important;
}

.do-cms__body [style*="line-height"] {
    line-height: inherit !important;
}

.do-cms__body>*:first-child {
    margin-top: 0 !important;
}

.do-cms__body :is(h2, h3, h4) {
    margin: 1.8em 0 .6em !important;
    color: var(--do-ink);
    font-family: var(--do-font) !important;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.3 !important;
    text-transform: none;
    scroll-margin-top: calc(var(--do-header-h) + 90px);
}

.do-cms__body h2 {
    font-size: 22px !important;
}

.do-cms__body h3 {
    font-size: 18px !important;
}

.do-cms__body h4 {
    font-size: 16px !important;
}

.do-cms__body p {
    margin: 0 0 1em;
}

.do-cms__body :is(ul, ol) {
    margin: 0 0 1.2em;
    padding-left: 1.3em;
}

.do-cms__body li {
    margin: .3em 0;
}

.do-cms__body li::marker {
    color: var(--do-accent);
}

.do-cms__body strong,
.do-cms__body b {
    color: var(--do-ink);
}

.do-cms__body a {
    color: var(--do-ink);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--do-accent);
    text-underline-offset: 3px;
}

.do-cms__body hr {
    margin: 1.8em 0 !important;
    border: 0 !important;
    border-top: 1px solid var(--do-line) !important;
}

.do-cms__body pre {
    margin: 0 0 1em;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.do-cms__body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--do-r);
}

.do-cms__body table {
    width: 100%;
    margin: 0 0 1.2em;
    border-collapse: collapse;
    font-size: 14px;
}

.do-cms__body :is(td, th) {
    padding: 10px 12px;
    border-bottom: 1px solid var(--do-line);
    text-align: left;
    vertical-align: top;
}

.do-cms__aside {
    position: sticky;
    top: calc(var(--do-header-h) + 70px);
    display: grid;
    gap: 16px;
}

.do-cms__toc,
.do-cms__nav,
.do-cms__help {
    padding: 18px;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
}

.do-cms__toc[hidden] {
    display: none;
}

.do-cms__aside-title {
    margin: 0 0 10px;
    padding: 0 8px;
    color: var(--do-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.do-cms__toc ol,
.do-cms__nav ul {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.do-cms__toc a,
.do-cms__nav a {
    display: block;
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--do-ink-2);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}

.do-cms__toc a {
    position: relative;
    padding-left: 18px;
}

.do-cms__toc a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 8px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    opacity: .5;
}

.do-cms__toc a.is-active {
    color: var(--do-ink);
    font-weight: 700;
}

.do-cms__toc a.is-active::before {
    top: 25%;
    width: 3px;
    height: 50%;
    margin: 0;
    border-radius: 2px;
    background: var(--do-accent);
    opacity: 1;
}

@media (hover: hover) {

    .do-cms__toc a:hover,
    .do-cms__nav a:hover {
        background: var(--do-bg);
        color: var(--do-ink);
    }
}

.do-cms__nav a[aria-current="page"] {
    background: var(--do-ink);
    color: #fff;
    font-weight: 600;
}

.do-cms__help {
    background: linear-gradient(160deg, #fff 40%, #fff5ea);
}

.do-cms__help p {
    margin: 0 0 12px;
    color: var(--do-ink-2);
    font-size: 14px;
    line-height: 1.5;
}

.do-cms__help strong {
    color: var(--do-ink);
}

@media (max-width: 991.98px) {
    .do-cms__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .do-cms__aside {
        position: static;
    }

    .do-cms__toc {
        order: -1;
    }
}

/* sommaire au-dessus du texte sur petit écran : la grille le place avant l'article */
@media (max-width: 991.98px) {
    .do-cms__grid:has(.do-cms__toc:not([hidden])) {
        display: flex;
        flex-direction: column;
    }

    .do-cms__grid:has(.do-cms__toc:not([hidden])) .do-cms__aside {
        display: contents;
    }

    .do-cms__grid:has(.do-cms__toc:not([hidden])) .do-cms__toc {
        order: -1;
    }
}

/* ---- Plan du site ---- */
body#sitemap #content.do-sitemap {
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.do-sitemap__top {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.do-sitemap__card {
    min-width: 0;
    padding: 22px;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
}

.do-sitemap__card h2,
.do-sitemap__card h3 {
    margin: 0 0 12px;
    font-family: var(--do-font);
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
}

.do-sitemap__card h3 a {
    color: var(--do-ink);
}

.do-sitemap__card ul {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.do-sitemap__card ul.nested {
    margin: 4px 0 6px 12px;
    padding-left: 10px;
    border-left: 1px solid var(--do-line);
}

.do-sitemap__card li a {
    display: inline-block;
    padding: 3px 0;
    color: var(--do-ink-2);
    font-size: 14px;
}

.do-sitemap__card li a:hover {
    color: var(--do-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.do-sitemap__h2 {
    margin: 36px 0 16px;
    font-family: var(--do-display);
    font-size: var(--do-fs-h2);
    font-weight: 800;
    letter-spacing: -.02em;
}

.do-sitemap__cats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    align-items: start;
    gap: 16px;
}

.do-sitemap__univ>ul>li {
    padding: 6px 0;
    border-top: 1px solid var(--do-line);
}

.do-sitemap__univ>ul>li:first-child {
    border-top: 0;
}

.do-sitemap__univ>ul>li>a {
    color: var(--do-ink);
    font-weight: 600;
}

.do-sitemap__univ details summary {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    color: var(--do-muted);
    font-size: 12.5px;
    cursor: pointer;
    list-style: none;
}

.do-sitemap__univ details summary::-webkit-details-marker {
    display: none;
}

.do-sitemap__univ details summary::after {
    content: "";
    width: 12px;
    height: 12px;
    background: currentColor;
    -webkit-mask: var(--do-i-chev) center / contain no-repeat;
    mask: var(--do-i-chev) center / contain no-repeat;
    transform: rotate(90deg);
    transition: transform .2s;
}

.do-sitemap__univ details[open] summary::after {
    transform: rotate(-90deg);
}

.do-sitemap__univ details {
    display: inline;
}

.do-sitemap__univ details[open] {
    display: block;
}

@media (max-width: 767.98px) {
    .do-sitemap__top {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---- Magasins ---- */
body#stores #content.do-stores:has(.do-empty) {
    max-width: 760px;
}

.do-store {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 260px;
    gap: 24px;
    padding: 20px 0;
    border-top: 1px solid var(--do-line);
}

.do-store:first-child {
    padding-top: 0;
    border-top: 0;
}

.do-store__img {
    width: 100%;
    border-radius: var(--do-r-lg);
}

.do-store h2 {
    margin: 0 0 8px;
    font-family: var(--do-font);
    font-size: 18px;
    font-weight: 700;
}

.do-store address {
    margin: 0 0 8px;
    font-style: normal;
}

.do-store__hours {
    width: 100%;
    font-size: 13.5px;
}

.do-store__hours caption {
    padding: 0 0 6px;
    caption-side: top;
    color: var(--do-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.do-store__hours th {
    padding: 3px 12px 3px 0;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .do-store {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---- Confirmation de commande (checkout/order-confirmation.tpl + _partials/do-order-confirmation.tpl) ;
   lignes d'articles et cartes reprises du détail de commande (.do-od__*) ---- */
body#order-confirmation #content.do-oc {
    display: grid;
    gap: 20px;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.do-oc__hero {
    position: relative;
    display: grid;
    justify-items: center;
    padding: clamp(32px, 5vw, 56px) 20px;
    overflow: hidden;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
    text-align: center;
}

.do-oc__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle 260px at 50% 0%, var(--do-green-soft), transparent 70%),
        linear-gradient(rgba(10, 10, 20, .05) 1px, transparent 1px) center top / 44px 44px,
        linear-gradient(90deg, rgba(10, 10, 20, .05) 1px, transparent 1px) center top / 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000 30%, transparent 75%);
    pointer-events: none;
}

.do-oc__hero>* {
    position: relative;
}

.do-oc__check {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--do-green);
    box-shadow: 0 0 0 10px var(--do-green-soft), 0 18px 40px -16px rgba(26, 154, 82, .8);
}

.do-oc__check svg {
    width: 44px;
    height: 44px;
    fill: none;
    stroke: #fff;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.do-oc__check circle {
    stroke: none;
}

.do-oc__check path {
    stroke-dasharray: 36;
    stroke-dashoffset: 0;
    animation: do-oc-check .6s .2s var(--do-ease) backwards;
}

@keyframes do-oc-check {
    from {
        stroke-dashoffset: 36;
    }
}

@media (prefers-reduced-motion: reduce) {
    .do-oc__check path {
        animation: none;
    }
}

.do-oc__title {
    margin: 0 0 10px;
    font-family: var(--do-display);
    font-size: clamp(32px, 4.4vw, 52px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.04;
}

.do-oc__lead {
    max-width: 560px;
    margin: 0 0 24px;
    color: var(--do-muted);
    font-size: 16px;
}

.do-oc__lead strong {
    color: var(--do-ink);
}

.do-oc__ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.do-oc__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.do-oc__steps li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 2px;
    align-content: start;
    padding: 20px;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-1);
}

.do-oc__num {
    display: grid;
    place-items: center;
    grid-row: span 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--do-bg);
    color: var(--do-ink);
    font-family: var(--do-display);
    font-weight: 800;
}

.do-oc__steps .is-done .do-oc__num {
    background: var(--do-green);
    color: #fff;
}

.do-oc__steps strong {
    font-size: 15px;
}

.do-oc__steps span:not(.do-oc__num) {
    color: var(--do-muted);
    font-size: 13.5px;
    line-height: 1.5;
}

.do-oc__steps a,
.do-oc__help a {
    color: var(--do-ink);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--do-line-strong);
    text-underline-offset: 3px;
}

.do-oc__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: start;
    gap: 20px;
}

/* theme.css : #order-items { margin-bottom: 40px }, #order-details { padding-left: 15/30px } */
.do-oc #order-items {
    margin: 0;
}

.do-oc #order-details {
    padding: 24px;
}

@media (max-width: 767.98px) {
    .do-oc #order-details {
        padding: 20px;
    }
}

.do-oc__recap dd small {
    display: block;
    color: var(--do-muted);
    font-size: 12.5px;
    font-weight: 500;
}

.do-oc__recap .do-oc__addr {
    display: grid;
    gap: 4px;
}

.do-oc__recap .do-oc__addr dd {
    text-align: left;
}

.do-oc__recap address {
    margin: 0;
    color: var(--do-ink-2);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.55;
}

.do-oc__tax dt,
.do-oc__tax dd {
    font-size: 13px;
}

.do-oc__help {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--do-line);
    color: var(--do-muted);
    font-size: 13.5px;
}

.do-oc__hook:empty {
    display: none;
}

.do-oc__register #customer-form {
    max-width: 680px;
}

@media (max-width: 991.98px) {

    .do-oc__steps,
    .do-oc__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.ui-corner-all span.product {
    color: black;
}

/* =====================================================================
   Résultats du sélecteur véhicule (2026-10-23)
   Accueil : pièces du véhicule puis pièces universelles, chacune dans son bloc (dovehicle, homefilter) ;
   listes filtrées (« Tout voir ») : titre d'après le véhicule, pièces universelles étiquetées et rangées après.
   ===================================================================== */
.do-vresults__count {
    margin: 6px 0 0;
    color: var(--do-muted);
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}

.do-vresults .do-shelf__actions .do-btn .do-icon {
    width: 16px;
    height: 16px;
}

/* 16 + 8 vignettes : 4 colonnes (2 sur mobile, règle plus haut), pas de vignette seule en dernière ligne */
@media (min-width: 768px) {
    #dovehicle-home-results .do-vresults .do-shelf__track {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* le bloc des pièces universelles suit celui du véhicule : séparé par un filet, pas par un rayon entier */
#dovehicle-home-results #dovehicle-universal-results-block {
    margin-top: 8px;
    padding-top: clamp(24px, 3vw, 36px);
    border-top: 1px solid var(--do-line);
}

.do-flag--universal {
    background: rgba(255, 255, 255, .92);
    color: var(--do-ink-2);
    box-shadow: inset 0 0 0 1px var(--do-line-strong);
}

.do-listing-head__count--muted {
    margin-left: 6px;
    background: transparent;
    box-shadow: inset 0 0 0 1px var(--do-line);
    color: var(--do-muted);
}

.do-listing-head__count--muted::before {
    display: none;
}

.do-listing-head--vehicle .do-eyebrow {
    margin-bottom: 8px;
}

/* =====================================================================
   Mobile : passe d'ergonomie sur toutes les pages (2026-10-24)
   Audit à 360 et 390 px (scratchpad/pw/mobaudit.mjs) : aucun défilement horizontal ; restaient le zoom
   d'iOS sur les champs, des textes illisibles, des cibles tactiles trop petites et quelques blocs mal
   repliés (onglets de la fiche produit, tableau des tickets, bouton « Mot de passe oublié »).
   ===================================================================== */

/* Champs en 16 px sur écran tactile : en dessous, Safari (iPhone) agrandit la page au focus et la laisse
   zoomée (recherche de l'en-tête, newsletter, déclinaisons produit, formulaires des modules…). */
@media (hover: none) and (pointer: coarse) {

    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="file"]),
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Liens isolés (« Tout voir », pied de page, connexion, tunnel…) : zone de toucher portée à 40 px et plus,
   sans rien déplacer (marge négative = marge intérieure ajoutée). */
@media (hover: none) and (pointer: coarse) {

    .do-link,
    .do-footer__contact a,
    .do-footer__brand>a,
    .do-listing-head__more,
    .do-pdp-brand a,
    .product-comments-additional-info .reviews_count,
    .do-auth__back,
    .do-auth__backlink,
    .do-auth__foot nav a,
    .forgot-password a,
    .do-od__tracking a,
    .co-legal a,
    .address-footer a,
    .cart-summary-products a,
    .show_cart a,
    .promo-code-button {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        margin-top: -10px !important;
        margin-bottom: -10px !important;
    }
}

@media (max-width: 767.98px) {

    /* hero : la pastille « Auto · Moto — Performance, confort & personnalisation » était en 8,5 px */
    .do-hero__tag {
        font-size: clamp(10.5px, 3.1vw, 12.5px);
    }

    /* fiche produit : onglets sur une ligne, pleine largeur (ils s'empilaient dans une pilule étroite) ;
       défilement horizontal s'ils ne tiennent pas */
    body#product .nav-tabs_alternative {
        display: flex;
        /* theme.css les passe en colonne sous 768 px */
        flex-direction: row;
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    body#product .nav-tabs_alternative::-webkit-scrollbar {
        display: none;
    }

    body#product .nav-tabs_alternative .nav-item {
        flex: 1 0 auto;
    }

    body#product .nav-tabs_alternative .nav-link {
        justify-content: center;
        padding: 8px 12px;
        font-size: 13.5px;
        text-align: center;
        white-space: nowrap;
    }

    /* tickets de support : sans les filtres (outil de back-office), tableau défilant dans sa carte */
    .lc_tickets .table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .lc_tickets .table thead tr:not(:first-child) {
        display: none;
    }

    .lc_tickets .table th,
    .lc_tickets .table td {
        white-space: nowrap;
    }

    .lc_tickets .table tbody td[colspan] {
        padding: 24px 14px;
        text-align: left;
        white-space: normal;
    }

    /* tableau de bord du compte : « Toutes mes commandes » sous le titre plutôt qu'en face, sur deux lignes */
    .do-dash__card-head {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .do-dash__card-head .do-link {
        white-space: nowrap;
    }
}

@media (max-width: 575px) {

    /* marques : deux par ligne (une carte par écran pour un petit logo) */
    .do-brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    /* plan du site : lignes pleine largeur, plus hautes (cibles tactiles) */
    .do-sitemap__card li a {
        display: block;
        padding: 9px 0;
    }

    .do-sitemap__univ details summary {
        min-height: 40px;
    }
}

@media (max-width: 359px) {
    .do-hero__tag {
        white-space: normal;
    }
}

/* plan du site : les listes imbriquées (grille) gardaient la largeur de leur plus long libellé et dépassaient
   de l'écran à 360 px */
.do-sitemap__card ul {
    grid-template-columns: minmax(0, 1fr);
}

.do-sitemap__card li a {
    overflow-wrap: anywhere;
}

@media (hover: none) and (pointer: coarse) {

    /* pastilles du carrousel, titres d'univers du plan du site, tri du tableau des tickets */
    .do-slider__dot {
        height: 36px;
    }

    .do-sitemap__card h3 a,
    .lc_tickets .table .title_box a {
        display: inline-block;
        padding-top: 10px;
        padding-bottom: 10px;
        margin-top: -10px;
        margin-bottom: -10px;
    }

    .lc_tickets .table .title_box a {
        padding-left: 4px;
        padding-right: 4px;
    }
}

/* « Mot de passe oublié » : theme.css décale le bouton de 15 px (marges latérales) sous 768 px ; il
   débordait de la carte */
.page-password .do-auth__form .form-control-submit {
    margin-left: 0;
    margin-right: 0;
}

/* =====================================================================
   Fenêtres modales (2026-10-25)
   Un seul style pour les fenêtres Bootstrap des modules : pays de livraison (tvgeolocation), liste
   d'envies (blockwishlist), avis produit (productcomments), photos du produit (#product-modal),
   « Changer de marque » (dovehicle), et pour les popups promotionnelles (advancedpopupcreator, fancybox).
   « Ajouté au panier » (#blockcart-modal) garde ses propres règles, plus haut.
   Carte blanche arrondie, titre en casse normale, bouton Fermer rond, fond assombri et légèrement flouté ;
   sur téléphone, la fenêtre s'ouvre par le bas, comme les tiroirs du sélecteur.
   ===================================================================== */
:root {
    --do-i-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
}

/* « in » : la liste d'envies (blockwishlist, Vue) affiche son propre fond avec la classe de Bootstrap 3 */
.modal-backdrop.show,
.modal-backdrop.in {
    opacity: 1;
    background: rgba(10, 10, 13, .5);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.modal .modal-dialog {
    max-width: 560px;
    min-height: calc(100% - 64px);
    margin: 32px auto;
}

.modal .modal-content {
    position: relative;
    border: 0;
    border-radius: var(--do-r-xl);
    background: var(--do-surface);
    box-shadow: var(--do-shadow-3);
    color: var(--do-ink-2);
}

.modal .modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 20px 4px 24px;
    border: 0;
}

.modal .modal-title,
.modal .modal-header .h2 {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: var(--do-ink);
    font-family: var(--do-display);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.25;
    text-align: left;
    text-transform: none;
}

.modal .modal-body {
    padding: 12px 24px 24px;
}

.modal .modal-footer {
    gap: 10px;
    padding: 0 24px 24px;
    border: 0;
}

.modal .modal-footer> :not(:first-child),
.modal .modal-footer> :not(:last-child) {
    margin: 0;
}

/* bouton Fermer : le thème en fait un carré gris collé au coin (police fontello) */
.modal .close {
    position: static;
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(118, 118, 128, .12);
    color: var(--do-ink);
    font: 0/0 a;
    opacity: 1;
    text-shadow: none;
    transition: background-color .2s var(--do-ease);
}

.modal .close::before {
    content: "";
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: var(--do-i-x) center / contain no-repeat;
    mask: var(--do-i-x) center / contain no-repeat;
}

.modal .close:hover {
    background: rgba(118, 118, 128, .22);
    color: var(--do-ink);
}

.modal .close:focus-visible {
    outline: none;
    box-shadow: var(--do-ring);
}

/* ---- Liste d'envies : « Connexion requise », créer / renommer une liste ---- */
.wishlist-modal .modal-dialog {
    max-width: 460px;
}

.wishlist-modal .modal-text {
    margin: 0;
    color: var(--do-muted);
    font-size: 15px;
    line-height: 1.5;
}

.wishlist-modal .modal-footer .btn {
    flex: 1;
}

/* ---- Avis produit ---- */
.product-comment-modal .modal-dialog {
    max-width: 720px;
}

.product-comment-modal .modal-header .h2 .material-icons {
    margin-right: 6px;
    color: #1f9d55;
    font-size: 24px;
    vertical-align: -5px;
}

.product-comment-modal .comments-product-info {
    align-items: center;
    margin: 0 0 18px;
    padding: 12px 0;
    border-radius: var(--do-r-lg);
    background: var(--do-surface-2);
}

.product-comment-modal .product-img {
    width: 100%;
    border-radius: 12px;
    background: #fff;
}

.product-comment-modal .comments-product-info .h3 {
    margin: 0 0 4px;
    color: var(--do-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: none;
}

.product-comment-modal .comments-product-info .description {
    color: var(--do-muted);
    font-size: 13.5px;
}

.product-comment-modal #criterions_list {
    margin: 0;
    padding: 0;
}

.product-comment-modal .criterion-rating label {
    margin: 0 8px 0 0;
    color: var(--do-ink-2);
    font-size: 14px;
    font-weight: 600;
}

.product-comment-modal .form-label {
    margin: 12px 0 6px;
    color: var(--do-ink-2);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.product-comment-modal .form-label sup,
.product-comment-modal .required {
    color: var(--do-red);
}

.product-comment-modal .form-control {
    min-height: 48px;
    border-radius: 14px;
}

.product-comment-modal textarea.form-control {
    min-height: 120px;
}

.product-comment-modal .product-comment-footer {
    align-items: center;
    margin-top: 18px;
}

.product-comment-modal .post-comment-required p {
    margin: 0;
    color: var(--do-muted);
    font-size: 13px;
}

.product-comment-modal .post-comment-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.product-comment-modal .btn.btn-comment,
.product-comment-modal .btn.btn-comment-inverse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin: 0;
    padding: 0 22px;
    border-radius: var(--do-pill);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.product-comment-modal .btn.btn-comment {
    border: 1px solid transparent;
    background: var(--do-accent);
    color: var(--do-accent-ink);
}

.product-comment-modal .btn.btn-comment:hover {
    background: var(--do-accent-hover);
    color: var(--do-accent-ink);
}

.product-comment-modal .btn.btn-comment-inverse {
    border: 1px solid var(--do-line-strong);
    background: var(--do-surface);
    color: var(--do-ink);
}

.product-comment-modal .btn.btn-comment-inverse:hover {
    border-color: var(--do-ink);
    background: var(--do-surface-2);
}

/* ---- Photos du produit (agrandissement) : photo + vignettes à droite, en dessous sur mobile ---- */
#product-modal .modal-dialog {
    max-width: min(920px, calc(100vw - 48px));
}

#product-modal .modal-content {
    padding: 16px;
    background: var(--do-surface);
}

#product-modal .modal-content>.close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 0 0 1px var(--do-line), 0 6px 16px -8px rgba(10, 10, 20, .3);
}

#product-modal .modal-content .modal-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 16px;
    margin: 0;
    padding: 0;
}

#product-modal .modal-content .modal-body figure {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: var(--do-r-lg);
    background: #fff;
}

#product-modal .modal-content .modal-body .product-cover-modal {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 200px);
    object-fit: contain;
}

#product-modal .modal-content .modal-body .image-caption {
    width: auto;
    padding: 12px 16px 14px;
    border-top: 1px solid var(--do-line);
    color: var(--do-muted);
    font-size: 14px;
}

#product-modal .modal-content .modal-body .thumbnails {
    max-height: calc(100dvh - 96px);
    padding-top: 52px;
    overflow-y: auto;
    scrollbar-width: thin;
}

#product-modal .modal-content .modal-body .mask {
    max-height: none;
    overflow: visible;
}

#product-modal .modal-content .modal-body .product-images {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
}

#product-modal .modal-content .modal-body .product-images>.thumb-container {
    width: 96px;
}

#product-modal .modal-content .modal-body .product-images img {
    aspect-ratio: 1;
    margin: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--do-line);
    object-fit: contain;
    transition: border-color .2s;
}

#product-modal .modal-content .modal-body .product-images img:hover,
#product-modal .modal-content .modal-body .product-images img.selected {
    border-color: var(--do-accent);
}

#product-modal .modal-content .modal-body .arrows {
    display: none;
}

/* ---- « Changer de marque » (pages marque, dovehicle) : la liste native restait affichée sous la liste
   avec recherche ---- */
#change-vehicle-modale .dov-native-select-hidden {
    display: none !important;
}

#change-vehicle-modale .modal-dialog {
    max-width: 480px;
}

#change-vehicle-modale .modal-body {
    padding: 24px;
}

/* ---- Pays de livraison (tvgeolocation : popup_choose.tpl, chargé en AJAX au clic sur le pays du bandeau) ----
   Le module centre la fenêtre elle-même (top/left 50 % + transform) et dessine ses boutons en cyan ; on revient
   au placement Bootstrap et on réordonne : le pays et « Valider » d'abord, la connexion ensuite. */
html #geo-location-modal.modal {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: auto;
    transform: none;
}

#geo-location-modal .modal-dialog {
    max-width: 440px;
}

#geo-location-modal .modal-content {
    padding: 0;
    font-family: var(--do-font);
    text-align: left;
}

#geo-location-modal .modal-header {
    padding: 20px 20px 0 24px;
}

#geo-location-modal .modal-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 0;
    color: var(--do-ink);
    font-family: var(--do-display);
    font-size: 20px;
    font-weight: 800;
}

#geo-location-modal .geo-location-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(229, 38, 46, .1);
}

#geo-location-modal .geo-location-icon svg {
    width: 20px;
    height: 20px;
    transform: none;
    fill: var(--do-red);
}

#geo-location-modal .tvgeo_close_country {
    position: static;
    width: 40px;
    height: 40px;
    line-height: normal;
    background: rgba(118, 118, 128, .12);
    opacity: 1;
}

#geo-location-modal .tvgeo_close_country:hover {
    background: rgba(118, 118, 128, .22);
}

#geo-location-modal .tvgeo-close-icon {
    display: none;
}

#geo-location-modal .modal-body {
    padding: 10px 24px 24px;
}

#geo-location-modal .tvgeo_country_entry,
#geo-location-modal .tvgeo_country_content {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: none;
    text-align: left;
}

#geo-location-modal .tvgeo_country_content_confirmation {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#geo-location-modal .tvgeo_country_bdy {
    order: 1;
    text-align: left;
    color: var(--do-muted);
    font-size: 15px;
    line-height: 1.5;
}

#geo-location-modal .country-selection-wrapper {
    display: flex;
    flex-direction: column;
    order: 2;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0;
    float: none;
}

#geo-location-modal .country-selection-wrapper .tvgeo_wrp_pross,
#geo-location-modal .country-selection-wrapper .tvgeo_wrp_zipcde {
    flex: none;
    width: 100%;
    max-width: none;
    padding: 0;
    float: none;
    transform: none;
}

#geo-location-modal .tvgeo_btn_sbmit_aply {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 0 20px;
    border: 0;
    border-radius: var(--do-pill);
    background: var(--do-ink);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    transition: background-color .2s var(--do-ease);
}

#geo-location-modal .tvgeo_btn_sbmit_aply:hover {
    background: #26262d;
    opacity: 1;
}

#geo-location-modal .tvgeo_btn_sbmit_aply.active {
    opacity: .6;
    pointer-events: none;
}

#geo-location-modal .tvgeo_btn_sbmit_aply::before,
#geo-location-modal .tvgeo_btn_sbmit_aply::after {
    display: none;
}

#geo-location-modal span.tvgeo_lne {
    display: flex;
    align-items: center;
    order: 3;
    gap: 12px;
    padding: 0;
    color: var(--do-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

#geo-location-modal span.tvgeo_lne::before,
#geo-location-modal span.tvgeo_lne::after {
    content: "";
    position: static;
    flex: 1;
    width: auto;
    height: 1px;
    margin: 0;
    background: var(--do-line-strong);
}

#geo-location-modal span.tvgeo_lne>span {
    padding: 0;
    background: none;
}

#geo-location-modal .tv_signin_btn {
    order: 4;
}

#geo-location-modal a.tvsignin_link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 18px;
    border: 1px solid var(--do-line-strong);
    border-radius: var(--do-pill);
    background: var(--do-surface);
    color: var(--do-ink);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
}

#geo-location-modal a.tvsignin_link:hover {
    border-color: var(--do-ink);
    background: var(--do-surface-2);
    opacity: 1;
}

#geo-location-modal .sign-in-icon {
    margin: 0;
    line-height: 0;
}

#geo-location-modal .sign-in-icon svg {
    width: 18px;
    height: 18px;
}

#geo-location-modal .sign-in-icon svg path {
    fill: currentColor;
}

/* liste des pays (select2) */
#geo-location-modal .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
    height: 52px !important;
    border: 1px solid var(--do-line-strong) !important;
    border-radius: 14px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

#geo-location-modal .select2-container--default.select2-container--open .select2-selection--single,
#geo-location-modal .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--do-ink) !important;
    box-shadow: var(--do-ring);
}

#geo-location-modal .select2-container--default .select2-selection--single .select2-selection__rendered {
    width: 100%;
    padding: 0 44px 0 14px;
    color: var(--do-ink) !important;
    font-size: 16px;
    line-height: 50px !important;
    text-align: left;
}

#geo-location-modal .select2-container--default .select2-selection--single .select2-selection__rendered img.img-flag,
body.modal-open .select2-results__option img.img-flag {
    width: 24px;
    margin: 0 10px 0 0;
    padding: 0;
    border-radius: 3px;
    vertical-align: -4px;
}

#geo-location-modal .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 0;
    right: 6px;
    width: 36px !important;
    height: 50px !important;
}

#geo-location-modal .country-selection-wrapper .select2-selection__arrow::after {
    content: "";
    right: 10px;
    width: 16px;
    height: 16px;
    background: var(--do-muted);
    -webkit-mask: var(--do-i-chev) center / contain no-repeat;
    mask: var(--do-i-chev) center / contain no-repeat;
    transform: translateY(-50%) rotate(90deg);
}

/* liste déroulante, rattachée à <body> par select2 (seule la fenêtre du pays s'en sert) */
body.modal-open .select2-container--open .select2-dropdown {
    overflow: hidden;
    border: 1px solid var(--do-line-strong);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--do-shadow-3);
}

body.modal-open .select2-container--open .select2-dropdown--below {
    margin-top: 6px;
}

body.modal-open .select2-container--default .select2-search--dropdown {
    padding: 10px;
}

body.modal-open .select2-container--default .select2-search--dropdown .select2-search__field {
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--do-line-strong) !important;
    border-radius: 10px;
    font-size: 16px;
}

body.modal-open .select2-container--default .select2-results>.select2-results__options {
    max-height: 280px;
}

body.modal-open .select2-container--default .select2-results__option {
    padding: 10px 14px;
    color: var(--do-ink-2);
    font-size: 15px;
}

body.modal-open .select2-container--default .select2-results__option[aria-selected=true] {
    background: var(--do-surface-2);
    color: var(--do-ink);
    font-weight: 700;
}

body.modal-open .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(229, 38, 46, .08) !important;
    color: var(--do-ink);
}

/* ---- Popups promotionnelles (advancedpopupcreator, fancybox) ---- */
.fancybox-skin {
    overflow: hidden;
    border-radius: var(--do-r-xl);
    box-shadow: var(--do-shadow-3) !important;
}

.fancybox-skin .fancybox-close {
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(118, 118, 128, .12);
    color: var(--do-ink);
    font: 0/0 a;
}

.fancybox-skin .fancybox-close::after {
    content: "";
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: var(--do-i-x) center / contain no-repeat;
    mask: var(--do-i-x) center / contain no-repeat;
}

.fancybox-skin .fancybox-close:hover {
    background: rgba(118, 118, 128, .22);
    color: var(--do-ink);
}

.fancybox-overlay {
    background: rgba(10, 10, 13, .5) !important;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* ---- Tablette et téléphone : vignettes des photos sous la photo, en ligne ---- */
@media (max-width: 767.98px) {
    #product-modal .modal-content .modal-body {
        grid-template-columns: minmax(0, 1fr);
    }

    #product-modal .modal-content .modal-body .thumbnails {
        max-height: none;
        padding-top: 0;
        overflow: auto hidden;
    }

    #product-modal .modal-content .modal-body .product-images {
        flex-direction: row;
    }

    #product-modal .modal-content .modal-body .product-images>.thumb-container {
        flex: none;
        width: 68px;
    }

    #product-modal .modal-content .modal-body .product-cover-modal {
        max-height: 60dvh;
    }
}

/* ---- Téléphone : fenêtre ouverte par le bas ---- */
@media (max-width: 575.98px) {

    .modal .modal-dialog,
    #product-modal .modal-dialog {
        align-items: flex-end;
        max-width: none;
        min-height: 100%;
        margin: 0;
    }

    .modal.fade .modal-dialog {
        transform: translateY(32px);
    }

    .modal.show .modal-dialog {
        transform: none;
    }

    .modal .modal-content {
        max-height: 92dvh;
        overflow-y: auto;
        padding-bottom: env(safe-area-inset-bottom);
        border-radius: 24px 24px 0 0;
    }

    #product-modal .modal-content {
        padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
    }

    .modal .modal-header {
        padding: 18px 16px 4px 20px;
    }

    .modal .modal-body {
        padding: 10px 20px 22px;
    }

    .modal .modal-footer {
        padding: 0 20px 22px;
    }

    #geo-location-modal .modal-body {
        padding: 10px 20px 22px;
    }

    .product-comment-modal .post-comment-buttons {
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: 12px;
    }

    .product-comment-modal .post-comment-buttons .btn {
        flex: 1;
    }

    .product-comment-modal .post-comment-required {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ---------------------------------------------------------------------
   Pied de page : bloc « Centre de support » d'ets_livechat (displayFooter, réglage ETS_LV_SUPPORT_TICKET =
   footer), repris de la prod le 2026-11-16. Gabarit du module (colonne Bootstrap repliable) mis au
   style des colonnes du pied de page : titre + liens toujours visibles.
   --------------------------------------------------------------------- */
.do-footer__grid>.lc_block_support_footer {
    flex: none;
    width: auto;
    max-width: none;
    padding: 0;
}

.do-footer .lc_block_support_footer>.title {
    display: none !important;
}

.do-footer .lc_block_support_footer>p.h3 {
    display: block !important;
    margin: 0 0 14px;
    color: #fff;
    font-family: var(--do-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.do-footer .lc_block_support_footer>#footer_ticket {
    display: block !important;
    height: auto !important;
    margin: 0;
    padding: 0;
    list-style: none;
}

.do-footer .lc_block_support_footer .item {
    margin: 0 0 9px;
}

@media (max-width: 991.98px) {
    .do-footer__grid>.lc_block_support_footer {
        padding: 14px 0 12px;
        border-bottom: 1px solid var(--do-dark-line);
    }
}
