/* =====================================================================
   assets/site.css -- design commun du site client CatwalkPictures
   Charge par includes/head.php sur toutes les pages client.
   Ici : variables, fond, cadre (header, sidebar, colonnes, footer),
   Selection Tray, bouton View (Fixed / Adaptive), fleches de defilement.
   Reste dans chaque page : ce qui ne sert qu'a elle (lightbox de show.php,
   diaporama de latest.php...). Apres un changement : augmenter
   CWP_ASSETS_VERSION dans includes/head.php.
   Reference visuelle : maquette « Maquette design show.php », version
   Nouveau (decisions du 13-14/11/2026).
   ===================================================================== */

/* ---------- 1. Variables : un changement de design = une ligne ici ---------- */
:root {
    --font: 'Inter', Arial, sans-serif;
    --font-title: 'Bodoni Moda', serif;
    --ink: #161616;            /* texte */
    --muted: #555;             /* texte secondaire, eyebrow */
    --bordeaux: #a3132f;       /* strictement fonctionnel */
    --btn: #3F4245;            /* boutons sombres : Send, Log in, + New Gallery, pastille, Save... (survol bordeaux) */

    --bg-rgb: 230, 232, 233;   /* fond de page #E6E8E9 */
    --grain: .6;               /* aplat du fond par-dessus la texture : 1 = sans grain, 0 = grain fort */

    --band: #484B4E;           /* header et footer */
    --band-link: #DADBDD;      /* liens du header et du footer */
    --band-muted: #b4b8ba;     /* copyright */

    --sidebar-bg: #F3F4F5;
    --sidebar-line: #cfd1d3;   /* filets de la sidebar */
    --sidebar-w: 310px;

    --page-fixed: 1400px;      /* largeur Fixed */
    --page-max: var(--page-fixed);
    --pad: 24px;               /* marge de chaque cote (header, colonnes, footer : toujours la meme) */
    --header-h: 88px;          /* 14 + logo 60 + 14 */
}
/* Adaptive : toute la page s'elargit, marges de 4 % (24 px au moins). Classe posee dans le <head>. */
html.cwp-adaptive {
    --page-max: 100vw;
    --pad: max(24px, 4vw);
}

/* ---------- 2. Base et fond « papier » ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    min-height: 100vh;     /* avec le footer « sticky » (section 7) : footer en bas meme si la page est courte */
    font-family: var(--font);
    color: var(--ink);
    background-color: rgb(var(--bg-rgb));
    background-image:
        linear-gradient(rgba(var(--bg-rgb), var(--grain)), rgba(var(--bg-rgb), var(--grain))),
        url(fond_papier.webp);
    background-size: auto, 512px 512px;
}

/* ---------- 3. Header ---------- */
.site-header { background: var(--band); padding: 14px 0; }
.site-header__inner {
    max-width: var(--page-max); margin: 0 auto; padding: 0 var(--pad);
    display: flex; align-items: center; gap: 32px;
}
.site-header__logo img { height: 60px; display: block; }
.site-header__nav { display: flex; gap: 30px; flex: 1; }
.site-header__nav-link {
    font-family: var(--font); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--band-link); text-decoration: none;
}
.site-header__nav-link:hover { color: #fff; }
.site-header__nav-link--active { color: #fff; font-weight: 600; }
.site-header__account { display: flex; align-items: baseline; gap: 24px; white-space: nowrap; }
.site-header__account-name {
    font-family: var(--font); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--band-link);
}
/* Pictogramme du compte : monochrome, plein ; la page du compte n'existe pas encore */
.site-header__account-pic { display: inline-flex; align-self: center; color: var(--band-link); cursor: default; }
.site-header__account-pic svg { display: block; }

/* Sign in (visiteur) et sa fenetre */
.site-header__login { position: relative; }
.site-header__signin-btn {
    font-family: var(--font); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
    background: transparent; border: 1px solid #6e7476; color: #fff;
    padding: 6px 16px; border-radius: 2px; cursor: pointer;
}
.site-header__signin-btn:hover { border-color: #fff; }
.site-header__signin-popover {
    position: absolute; top: calc(100% + 10px); right: 0;
    background: #fff; border: 1px solid var(--ink); border-radius: 2px;
    padding: 24px; width: 300px; z-index: 20;
}
.site-header__signin-title { font-family: var(--font-title); font-size: 19px; color: var(--ink); margin: 0 0 16px; }
.site-header__signin-close {
    position: absolute; top: 8px; right: 10px; padding: 2px 6px; border: 0; background: none; cursor: pointer;
    font-family: var(--font); font-size: 20px; line-height: 1; color: #6e6e6e;
}
.site-header__signin-close:hover { color: var(--bordeaux); }
.site-header__signin-close:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 2px; }
.site-header__signin-expired-notice { font-family: var(--font); font-size: 12px; color: #6e6e6e; margin: 0 0 16px; }
.site-header__signin-label { display: block; font-family: var(--font); font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.site-header__signin-label input {
    display: block; width: 100%; margin-top: 4px; padding: 7px 8px;
    border: 1px solid var(--ink); border-radius: 2px; font-family: var(--font); font-size: 13px; color: var(--ink);
}
.site-header__honeypot { position: absolute !important; left: -9999px !important; }
.site-header__signin-error { font-family: var(--font); font-size: 12px; color: var(--bordeaux); margin-bottom: 10px; }
.site-header__signin-submit {
    width: 100%; background: var(--btn); color: #fff; border: none; border-radius: 2px;
    padding: 9px; font-family: var(--font); font-size: 13px; cursor: pointer;
}
.site-header__signin-submit:hover { background: var(--bordeaux); }
.site-header__signin-submit:disabled { opacity: .5; cursor: default; }
.site-header__signin-forgot { display: block; text-align: center; margin-top: 12px; font-family: var(--font); font-size: 12px; color: #6e6e6e; text-decoration: none; }
.site-header__signin-forgot:hover { color: var(--bordeaux); }

/* ---------- 4. Colonnes : sidebar + contenu (pages avec sidebar) ---------- */
.layout {
    display: flex; max-width: var(--page-max); margin: 0 auto; padding: 0 var(--pad);
    min-height: calc(100vh - var(--header-h));
}
.main { flex: 1; min-width: 0; padding: 28px 0 48px 40px; }

/* ---------- 5. Sidebar : fond uni, pleine hauteur du header au footer ---------- */
.sidebar-frame {
    width: var(--sidebar-w); flex-shrink: 0;
    background: var(--sidebar-bg);
    border-left: 1px solid var(--sidebar-line); border-right: 1px solid var(--sidebar-line);
}
.sidebar {
    position: sticky; top: 0; max-height: 100vh; overflow-y: auto;
    padding: 14px 0; font-family: var(--font);
}
.sidebar-node {
    cursor: pointer; padding: 5px 16px; font-size: 13px; color: var(--ink);
    white-space: normal; line-height: 1.4;
}
.sidebar-node:not(.sidebar-node--leaf) { padding: 7px 16px; font-size: 14px; line-height: 1.2; }
.sidebar-node:hover:not(.sidebar-node--selected) { background: rgb(var(--bg-rgb)); }
.sidebar-node--open { color: var(--ink); }
.sidebar-node--selected,
.sidebar-node--list-active { background: #f6e6e8; color: #7a0f24; font-weight: 600; border-radius: 2px; }
.sidebar-node:not(.sidebar-node--leaf)::after {
    content: '\203A'; float: right; color: #999; display: inline-block; transition: transform .15s;
}
.sidebar-node--open:not(.sidebar-node--leaf)::after { transform: rotate(90deg); }
.sidebar-root-group { border-bottom: 1px solid #e2e3e4; }
.sidebar-root-group:last-child { border-bottom: none; }
.sidebar-root-group > .sidebar-node { font-size: 15px; padding-top: 18px; padding-bottom: 18px; }
.sidebar-level[data-depth="1"] { padding-left: 10px; }
.sidebar-level[data-depth="2"] { padding-left: 20px; }
.sidebar-level[data-depth="3"] { padding-left: 30px; }
.sidebar-level[data-depth="4"] { padding-left: 40px; }
.sidebar-leaf-wrap { display: flex; align-items: flex-start; }
.sidebar-leaf-wrap > .sidebar-level { flex: 1; min-width: 0; padding-left: 12px; }
.sidebar-az-nav { display: flex; flex-direction: column; flex-shrink: 0; padding: 0 16px 0 4px; gap: 1px; position: sticky; top: 0; }
.sidebar-az-btn {
    border: none; background: none; cursor: pointer;
    font-family: var(--font); font-size: 12px; font-weight: 600; color: var(--muted);
    padding: 1px 3px; line-height: 1.4;
}
.sidebar-az-btn:hover { color: var(--ink); }
.sidebar-az-btn--active { color: var(--bordeaux); }

/* Liste des defiles d'une ville dans le contenu (browse.php, homepage) : index par lettre, lecture
   ligne par ligne (on ne fait que descendre), 2 colonnes en Fixed, 3 au plus en Adaptive (15/11/2026). */
.city-head { margin-bottom: 14px; max-width: 900px; }   /* bouton View aligne sur la fin de la liste */
.city-eyebrow { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.city-title { font-family: var(--font-title); font-size: 30px; font-weight: 600; color: var(--bordeaux); margin: 0; }
.city-index { max-width: 900px; border-top: 1px solid rgba(22, 22, 22, .45); }
html.cwp-adaptive .city-index, html.cwp-adaptive .city-head { max-width: 1400px; }   /* colonnes ~430 px, jamais plus etroites qu'en Fixed (~412 px) */
.city-group { display: flex; border-bottom: 1px solid rgba(22, 22, 22, .13); padding: 6px 0; }
.city-letter { width: 64px; flex-shrink: 0; padding: 6px 0 0 6px; font-family: var(--font-title); font-size: 22px; font-weight: 600; line-height: 1; color: var(--ink); }
.city-names {
    flex: 1; min-width: 0; display: grid; column-gap: 32px;
    grid-template-columns: repeat(auto-fill, minmax(max(320px, calc((100% - 64px) / 3)), 1fr));
}
.city-show { display: flex; align-items: baseline; gap: 10px; padding: 7px 8px; font-size: 14.5px; color: var(--ink); text-decoration: none; border-radius: 2px; }
.city-show__name { flex: 1; min-width: 0; }
.city-show__count { color: #8a8c8e; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.city-show:hover { background: rgba(255, 255, 255, .55); color: var(--bordeaux); }
.city-show:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 1px; }

/* ---------- 6. Bouton View : Fixed / Adaptive (pages de photos) ---------- */
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.view-switch { display: inline-flex; align-items: baseline; font-family: var(--font); font-size: 12px; white-space: nowrap; flex-shrink: 0; }
.view-switch__label { color: var(--muted); margin-right: 8px; }
.view-switch button {
    border: 0; background: none; cursor: pointer; padding: 2px 6px;
    font-family: var(--font); font-size: 12px; font-weight: 500; color: #6e6e6e;
}
.view-switch button:hover { color: var(--ink); }
.view-switch button[aria-pressed="true"] { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.view-switch button:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 2px; }

/* ---------- 7. Footer ---------- */
.site-footer { background: var(--band); padding: 20px 0; margin-top: 40px; position: sticky; top: 100vh; }
/* top: 100vh = page courte : le footer descend jusqu'en bas de la fenetre ; page longue : aucun effet. */
.layout ~ .site-footer { margin-top: 0; }   /* la sidebar descend jusqu'au footer */
.site-footer__inner {
    max-width: var(--page-max); margin: 0 auto; padding: 0 var(--pad);
    display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.site-footer__copyright { font-family: var(--font); font-size: 12px; color: var(--band-muted); }
.site-footer__links { display: flex; gap: 20px; }
.site-footer__links a {
    font-family: var(--font); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--band-link); text-decoration: none;
}
.site-footer__links a:hover { color: #fff; }
/* Client connecte : la pastille « N selected » (fixe, en bas a droite) ne doit jamais cacher les liens.
   Place reservee seulement quand elle chevaucherait (fenetre etroite ou Adaptive). */
.site-footer--tray .site-footer__inner {
    padding-right: max(var(--pad), calc(175px - (100vw - min(100vw, var(--page-max))) / 2));
}

/* ---------- 8. Fleches de defilement (pages de plus de 3 ecrans, assets/site.js) ---------- */
.cwp-pager { position: fixed; right: 24px; bottom: 78px; display: flex; flex-direction: column; gap: 8px; z-index: 480; }
.cwp-pager[hidden] { display: none; }
.cwp-pager button {
    width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(22, 22, 22, .32); color: #fff;
    display: flex; align-items: center; justify-content: center;
}
.cwp-pager button:hover { background: rgba(22, 22, 22, .7); }
.cwp-pager button:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 2px; }
.cwp-pager button.cwp-pager--off { visibility: hidden; }

/* ---------- 9. Selection Tray (pastille, tiroir, fenetre « Add to gallery ») ---------- */
.cwp-tray-pill {
    position: fixed; bottom: 20px; right: 20px; z-index: 500;
    background: var(--btn); color: #fff; border-radius: 999px;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    font-family: var(--font); font-size: 13px; font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,.25); padding: 10px 18px;
}
.cwp-tray-pill:hover { background: var(--bordeaux); }
.cwp-tray-pill-badge { display: none; }
/* Etat "dans la lightbox" : simple badge rond, informatif, jamais cliquable --
   evite de melanger un indicateur passif avec une action (ouvrir le tiroir),
   qui n'a pas d'utilite tant qu'on n'est pas sorti de la lightbox. */
.cwp-tray-pill--lb {
    padding: 0 9px; width: auto; height: 26px; background: var(--bordeaux); cursor: default; pointer-events: none;
    font-size: 11.5px; font-weight: 700; gap: 4px;
}
.cwp-tray-pill--lb:hover { background: var(--bordeaux); }
.cwp-tray-pill--lb .cwp-tray-pill-label { display: none; }
.cwp-tray-pill--lb .cwp-tray-pill-badge { display: block; }

.cwp-tray-drawer {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 490;
    background: #e2e5e8; border-top: 1px solid var(--ink); box-shadow: 0 -2px 14px rgba(0,0,0,.15);
    padding: 22px 24px; display: flex; align-items: center; gap: 40px;
}
.cwp-tray-strip { flex: 1; min-width: 0; display: flex; gap: 12px; overflow-x: auto; padding: 2px; }
.cwp-tray-thumb { position: relative; flex: 0 0 auto; }
.cwp-tray-thumb img { height: 110px; width: auto; display: block; border-radius: 2px; }
.cwp-tray-thumb-x {
    position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%;
    background: rgba(22,22,22,.65); color: #fff; border: none; font-size: 11px; cursor: pointer;
}
.cwp-tray-thumb-x:hover { background: var(--bordeaux); }
.cwp-tray-empty { font-size: 13px; color: #666; margin: 0; }
.cwp-tray-controls { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--font); }
.cwp-tray-drawer-actions { display: flex; gap: 18px; margin-bottom: 6px; }
.cwp-tray-icon-btn {
    border: none; background: none; color: #444; width: 38px; height: 38px; padding: 0;
    display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 24px; text-decoration: none;
}
.cwp-tray-icon-btn:hover { color: var(--bordeaux); }
.cwp-tray-save-btn {
    padding: 8px 18px; background: var(--btn); color: #fff; border: 1.5px solid var(--btn);
    border-radius: 2px; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.cwp-tray-save-btn:hover { background: var(--bordeaux); border-color: var(--bordeaux); }
.cwp-tray-close-label { display: flex; align-items: center; gap: 6px; background: none; border: none; cursor: pointer; padding: 0; margin-top: 6px; }
.cwp-tray-close-label span { font-size: 12.5px; font-weight: 600; color: var(--bordeaux); white-space: nowrap; }
.cwp-tray-close-chevron { font-size: 10px; color: var(--bordeaux); }
.cwp-tray-close-label:hover span, .cwp-tray-close-label:hover .cwp-tray-close-chevron { color: var(--ink); }

.cwp-modal-backdrop {
    position: fixed; inset: 0; background: rgba(22,22,22,.55); z-index: 600;
    display: none; align-items: flex-start; justify-content: center; padding-top: 90px;
}
.cwp-modal { background: #fff; border-radius: 4px; padding: 36px 34px; width: 500px; max-width: 90vw; font-family: var(--font); }
.cwp-modal-title { font-family: var(--font-title); font-size: 23px; font-weight: 600; margin: 0 0 18px; color: var(--ink); text-align: center; }
.cwp-modal-msg { font-size: 12.5px; color: var(--bordeaux); min-height: 16px; margin-bottom: 8px; }
.cwp-modal-label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); margin-bottom: 6px; }
.cwp-modal-select, .cwp-modal-input {
    width: 100%; font-family: var(--font); font-size: 15px; padding: 11px 13px;
    border: 1.5px solid var(--ink); border-radius: 2px; margin-bottom: 14px; color: var(--ink); background: #fff;
}
.cwp-modal-select:focus, .cwp-modal-input:focus { outline: 2px solid var(--bordeaux); outline-offset: 1px; }
.cwp-modal-divider { display: flex; align-items: center; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--ink); margin: 20px 0; }
.cwp-modal-divider::before, .cwp-modal-divider::after { content: ''; flex: 1; height: 1px; background: #ccc; }
.cwp-modal-divider span { padding: 0 14px; }
.cwp-modal-checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); margin-bottom: 14px; cursor: pointer; }
.cwp-btn-primary {
    width: 100%; padding: 11px; background: var(--btn); color: #fff; border: 1.5px solid var(--btn);
    border-radius: 2px; font-size: 14px; font-weight: 700; cursor: pointer; margin-bottom: 10px;
}
.cwp-btn-primary:hover { background: var(--bordeaux); border-color: var(--bordeaux); }
.cwp-modal-cancel { width: 100%; padding: 9px; background: none; color: #333; border: none; font-size: 12.5px; cursor: pointer; }
.cwp-modal-cancel:hover { color: var(--bordeaux); }

/* ---- Designers : lien du header et panneau (decisions.md A10, 19/11/2026 ; maquette « Maquette Designers ») ---- */
/* Zone des outils du header (DESIGNERS ; plus tard MULTI SEARCH, ARCHIVES), separee du compte par un filet fin */
.site-header__tools {
    display: flex; align-items: center; gap: 30px; height: 16px;
    padding-right: 28px; margin-right: -4px; border-right: 1px solid rgba(218, 219, 221, .35);
}
/* Panneau a droite, 500 px, pleine hauteur, fond blanc ; page assombrie derriere */
.dz-scrim { position: fixed; inset: 0; background: rgba(22, 22, 22, .45); z-index: 690; }
.dz-scrim[hidden], .dz-panel[hidden] { display: none; }
.dz-panel {
    position: fixed; top: 0; bottom: 0; right: 0; width: 500px; max-width: 100vw; z-index: 700;
    background: #fff; border-left: 1px solid var(--sidebar-line); box-shadow: -8px 0 24px rgba(22, 22, 22, .14);
    display: flex; flex-direction: column; font-family: var(--font); color: var(--ink);
}
.dz-phead {
    height: var(--header-h); flex-shrink: 0; display: flex; align-items: center; gap: 14px;
    padding: 0 20px 0 28px; border-bottom: 1px solid var(--sidebar-line);
}
.dz-search {
    flex: 1; min-width: 0; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; background: transparent;
    padding: 10px 2px; font: 16px var(--font); color: var(--ink);
}
.dz-search:focus-visible { outline: none; border-bottom-color: var(--bordeaux); }
.dz-search::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }   /* une seule croix : celle du panneau */
.dz-close { border: 0; background: none; cursor: pointer; font-size: 26px; line-height: 1; color: #6e6e6e; padding: 2px 6px; }
.dz-close:hover { color: var(--bordeaux); }
.dz-close:focus-visible, .dz-az button:focus-visible, .dz-item:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 2px; }
.dz-ptools { display: flex; justify-content: flex-end; align-items: baseline; padding: 12px 28px 6px; }
/* Tout le corps du panneau defile ; l'index A-Z reste colle a droite (barre de defilement a droite de l'index) */
.dz-pbody { flex: 1; min-height: 0; display: flex; align-items: flex-start; overflow-y: auto; overscroll-behavior: contain; }
.dz-plist { flex: 1; min-width: 0; padding: 4px 0 24px 28px; }
.dz-lhead { font-family: var(--font-title); font-size: 22px; font-weight: 600; line-height: 1; padding: 18px 0 6px; margin: 0 10px 2px 0; }
.dz-item { display: block; padding: 6px 10px 6px 0; font-size: 14px; line-height: 1.35; color: var(--ink); text-decoration: none; }
.dz-item:hover, .dz-item--current { color: var(--bordeaux); }
.dz-item small { display: block; color: #6e6e6e; font-size: 11.5px; }
.dz-msg { color: #6e6e6e; font-size: 14px; padding: 18px 0; }
.dz-az { display: flex; flex-direction: column; flex-shrink: 0; padding: 10px 18px 10px 6px; position: sticky; top: 0; }
.dz-az[hidden] { display: none; }
.dz-az button { border: 0; background: none; cursor: pointer; font: 600 12px var(--font); color: var(--ink); padding: 2px 4px; line-height: 1.45; }
.dz-az button:hover, .dz-az button.on { color: var(--bordeaux); }
.dz-az button:disabled { color: #c3c5c7; cursor: default; }
/* Tablette et petit ecran : panneau en pleine largeur */
@media (max-width: 767px) { .dz-panel { width: 100vw; border-left: 0; } }

/* Previous / Next dans les defiles d'une maison (show.php, ajoute par site.js, section 4) : discret, centre comme
   « Back to top » (le bord droit reel de la galerie varie avec la largeur des vignettes) */
.cwp-shownav { display: flex; justify-content: center; align-items: baseline; gap: 10px; max-width: 900px; margin: -8px 0 22px; font-family: var(--font); font-size: 13px; letter-spacing: .04em; }   /* meme style en haut et en bas */
html.cwp-adaptive .cwp-shownav { max-width: none; }
/* En haut : 8 px plus pres du texte et 8 px plus loin des photos (meme ecart total), pour ne pas cliquer une photo au lieu de Next */
.cwp-shownav a { color: #555; text-decoration: none; }   /* comme « Back to top » */
.cwp-shownav a:hover { color: var(--bordeaux); }
.cwp-shownav__off { color: #c3c5c7; }
.cwp-shownav__sep { color: #b4b8ba; }
.cwp-shownav--bottom { margin: 22px 0 0; }   /* en bas : « ‹ Previous · ↑ Back to top · Next › » */
.cwp-shownav .back-to-top { display: inline; margin: 0; }
/* Panneau Designers : champ de recherche avec sa petite croix d'effacement */
.dz-field { flex: 1; min-width: 0; position: relative; display: flex; }
.dz-field .dz-search { padding-right: 30px; }
.dz-clear {
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    border: 0; background: none; cursor: pointer; color: #8a8c8e; font-size: 18px; line-height: 1; padding: 4px 6px;
}
.dz-clear[hidden] { display: none; }
.dz-clear:hover { color: var(--bordeaux); }
.dz-clear:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 2px; }
/* Panneau Designers ouvert : la page derriere ne defile plus (largeur de sa barre compensee par site.js) */
html.dz-lock { overflow: hidden; }
