/* ==========================================================
   ZANDOS — PAGE LISTE v3 (maquette validée le 19/11)
   Fond blanc, Inter, boutons noirs, menu des catégories à gauche,
   filtres en listes déroulantes, aperçu rapide.
========================================================== */

:root {
    --zg-ink: #111;
    --zg-muted: #5f6466;
    --zg-line: #ececec;
    --zg-soft: #f4f5f5;
    --zg-red: #e2001a;
}

html.zg-lock, html.zg-lock body { overflow: hidden; }
body.zg-body { margin: 0; background: #fff; color: var(--zg-ink); font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body.zg-body svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------- mise en page ---------------- */
.zg-page { display: flex; flex-wrap: wrap; gap: 40px; max-width: 1440px; margin: 0 auto; padding: 30px 40px 60px; box-sizing: border-box; }
.zg-side { flex: 1 1 210px; max-width: 230px; }
.zg-main { flex: 999 1 560px; min-width: 0; }

/* menu de gauche */
.zg-side a { display: block; color: #333; text-decoration: none; font-size: 15px; line-height: 1.3; }
.zg-side a:hover { color: var(--zg-ink); text-decoration: underline; text-underline-offset: 3px; }
.zg-side-promo { display: block !important; color: var(--zg-ink) !important; font-size: 15px !important; font-weight: 600; }
.zg-side-promo .zv-pct { vertical-align: 1px; margin-left: 4px; }
.zg-side-promo .zv-pct, .zg-side .zv-pct { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--zg-red); color: #fff; font: 800 8.5px/1 Inter, sans-serif; font-style: normal; }
.zg-side-aud { margin-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.zg-side-aud a { padding: 8px 10px; border-radius: 8px; font-size: 16px; font-weight: 600; color: var(--zg-ink); }
.zg-side-aud a.is-on { background: var(--zg-soft); font-weight: 700; }
.zg-side .audience-filters { display: flex; flex-direction: column; gap: 2px; margin: 4px 0 8px; padding: 0; border: 0; background: none; }
.zg-side .audience-filters[hidden] { display: none; }
.zg-side .audience-filter-btn { all: unset; cursor: pointer; display: block; padding: 7px 10px 7px 22px; border-radius: 8px; color: #333; font: 400 14.5px/1.3 Inter, sans-serif; }
.zg-side .audience-filter-btn:hover { color: var(--zg-ink); }
.zg-side .audience-filter-btn.active { color: var(--zg-ink); font-weight: 700; }
.zg-side-more { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--zg-line); display: flex; flex-direction: column; gap: 12px; padding-left: 10px; }
.zg-side-more a.is-on { font-weight: 700; color: var(--zg-ink); }
.zg-side-red { margin-top: 18px; padding-left: 10px; color: var(--zg-red) !important; font-weight: 700; font-size: 16px !important; }

/* en-tête de liste */
.zg-crumb { font-size: 13px; color: #666; }
.zg-crumb a { color: #666; text-decoration: none; }
.zg-crumb b { color: var(--zg-ink); font-weight: 600; }
body.zg-body .category-header.zg-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 10px 0 0; padding: 0 0 18px; border-bottom: 1px solid var(--zg-line); background: none; text-align: left; }
body.zg-body .zg-head h1 { margin: 0; font: 800 28px/1.15 Inter, sans-serif; letter-spacing: -.02em; color: var(--zg-ink); text-transform: none; }
body.zg-body .zg-head p { margin: 0; padding: 5px 11px; border-radius: 999px; background: var(--zg-soft); font: 600 12.5px/1 Inter, sans-serif; color: var(--zg-ink); }
.zg-head-tools { margin-left: auto; display: flex; gap: 8px; }
.zg-sort { position: relative; display: inline-flex; align-items: center; height: 42px; padding: 0 14px; border: 1px solid #d9dcdc; border-radius: 999px; font: 500 14px Inter, sans-serif; gap: 6px; }
.zg-sort span { color: var(--zg-muted); }
.zg-sort select { border: 0; background: none; font: 600 14px Inter, sans-serif; color: var(--zg-ink); cursor: pointer; outline: 0; }
.zg-mobile-only { display: none !important; }

/* ---------------- filtres ---------------- */
.zg-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 14px; }
.zg-dd { position: relative; }
.zg-pill { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border: 1px solid #d9dcdc; border-radius: 999px; background: #fff; color: var(--zg-ink); font: 500 14px Inter, sans-serif; cursor: pointer; transition: border-color .15s ease; }
.zg-pill svg { width: 16px; height: 16px; transition: transform .2s ease; }
.zg-pill:hover, .zg-pill.is-set { border-color: var(--zg-ink); }
.zg-pill.is-set { font-weight: 600; }
.zg-dd.is-open .zg-pill { border-color: var(--zg-ink); }
.zg-dd.is-open .zg-pill svg { transform: rotate(180deg); }
.zg-dd-panel { position: absolute; z-index: 40; left: 0; top: 50px; width: 420px; max-width: calc(100vw - 32px); border-radius: 14px; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .16), 0 0 0 1px rgba(0, 0, 0, .04); animation: zgIn .16s ease; }
@keyframes zgIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.zg-dd-body { padding: 16px; }
.zg-dd-empty { margin: 0; padding: 18px; color: var(--zg-muted); font-size: 14px; }
.zg-dd-foot { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--zg-line); }

.zg-black, .zg-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 18px; border-radius: 999px; font: 600 14px Inter, sans-serif; cursor: pointer; }
.zg-black { flex: 1.4; border: 0; background: var(--zg-ink); color: #fff; }
.zg-black:hover { background: #2b2b2b; }
.zg-ghost { flex: 1; border: 1px solid #d9dcdc; background: #fff; color: var(--zg-ink); }
.zg-ghost svg { width: 15px; height: 15px; }

.zg-price { display: flex; align-items: flex-end; gap: 10px; }
.zg-price label { flex: 1; }
.zg-price span { display: block; margin-bottom: 4px; font-size: 12px; color: #666; }
.zg-price input { width: 100%; box-sizing: border-box; height: 46px; padding: 0 12px; border: 1px solid transparent; border-radius: 10px; background: var(--zg-soft); font: 500 15px Inter, sans-serif; color: var(--zg-ink); outline: 0; }
.zg-price input:focus { border-color: var(--zg-ink); background: #fff; }
.zg-price b { padding-bottom: 12px; font-weight: 400; }

.zg-switch { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 14px; width: 100%; cursor: pointer; }
.zg-switch span { flex: 1; }
.zg-switch b { display: block; font: 600 15px Inter, sans-serif; }
.zg-switch small { display: block; margin-top: 2px; font-size: 13px; color: var(--zg-muted); }
.zg-switch i { position: relative; flex: none; width: 42px; height: 24px; border-radius: 12px; background: #d9dcdc; transition: background .2s ease; }
.zg-switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s ease; }
.zg-switch[aria-checked="true"] i { background: var(--zg-ink); }
.zg-switch[aria-checked="true"] i::after { transform: translateX(18px); }

.zg-sizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; max-height: 300px; overflow: auto; }
.zg-sizes button { height: 44px; border: 1px solid #e3e5e5; border-radius: 10px; background: #f7f8f8; font: 500 14px Inter, sans-serif; color: var(--zg-ink); cursor: pointer; }
.zg-sizes button:hover { border-color: var(--zg-ink); }
.zg-sizes button.is-on { background: var(--zg-ink); border-color: var(--zg-ink); color: #fff; }

.zg-colors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; max-height: 320px; overflow: auto; padding: 10px; }
.zg-colors button, .zg-brands button { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 10px; border-radius: 10px; font: 500 14px Inter, sans-serif; cursor: pointer; }
.zg-colors button:hover, .zg-brands button:hover { background: var(--zg-soft); }
.zg-colors button.is-on { background: var(--zg-soft); font-weight: 700; }
.zg-colors i { flex: none; width: 24px; height: 24px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.zg-colors em, .zg-brands em { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--zg-soft); font: 600 12px Inter, sans-serif; font-style: normal; color: #444; }
.zg-colors button.is-on em { background: #fff; }

.zg-bsearch { display: flex; align-items: center; gap: 10px; margin: 14px 14px 0; height: 46px; padding: 0 12px; border-radius: 10px; background: var(--zg-soft); }
.zg-bsearch svg { width: 18px; height: 18px; }
.zg-bsearch input { flex: 1; border: 0; background: none; font: 400 15px Inter, sans-serif; outline: 0; }
.zg-brands { display: flex; flex-direction: column; max-height: 300px; overflow: auto; padding: 8px 6px; }
.zg-brands button[hidden] { display: none; }
.zg-brands i { flex: none; width: 18px; height: 18px; border: 1.5px solid #9aa0a0; border-radius: 5px; box-sizing: border-box; }
.zg-brands button.is-on i { background: var(--zg-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--zg-ink); }

/* filtres actifs */
.zg-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }
.zg-active[hidden] { display: none; }
.zg-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--zg-ink); color: #fff; font: 600 13px Inter, sans-serif; cursor: pointer; }
.zg-chip svg { width: 13px; height: 13px; }
.zg-clear { border: 0; background: none; padding: 0 6px; font: 600 13px Inter, sans-serif; color: var(--zg-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------------- cartes articles ---------------- */
body.zg-body .category-products { padding: 0; margin: 0; background: none; }
body.zg-body .product-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 22px 14px !important; padding: 0 !important; margin: 0 !important; }
body.zg-body .product-card.zg-card { position: relative; display: block; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; cursor: default; overflow: visible; }
.zg-card-media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px; background: #f5f5f5; }
.zg-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.zg-card:hover .zg-card-media img { transform: scale(1.03); }
.zg-tag { position: absolute; left: 0; bottom: 14px; padding: 5px 12px; border-radius: 0 999px 999px 0; background: var(--zg-red); color: #fff; font: 800 12px/1.2 Inter, sans-serif; letter-spacing: .02em; }
.zg-quick { position: absolute; left: 10px; right: 10px; bottom: 10px; display: grid; place-items: center; height: 42px; border-radius: 999px; background: rgba(255, 255, 255, .96); color: var(--zg-ink); font: 600 13.5px Inter, sans-serif; opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease; }
.zg-card:hover .zg-quick { opacity: 1; transform: none; }
.zg-card:hover .zg-tag { opacity: 0; }
.zg-fav { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; color: var(--zg-ink); cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.zg-fav svg { width: 18px; height: 18px; stroke-width: 1.7; }
.zg-card-info { display: block; padding-top: 10px; text-align: left; color: var(--zg-ink); text-decoration: none; }
.zg-brand { display: block; font: 700 12.5px/1.3 Inter, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.zg-name { display: block; margin-top: 2px; font: 400 13.5px/1.35 Inter, sans-serif; color: #444; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zg-amt { display: block; margin-top: 4px; font: 600 15px/1.3 Inter, sans-serif; }
.zg-amt.is-red { color: var(--zg-red); }
.zg-ref { display: block; margin-top: 3px; font-size: 12px; color: var(--zg-muted); }
.zg-ref b { color: var(--zg-red); font-weight: 700; }
body.zg-body .category-empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; color: var(--zg-ink); }
body.zg-body .category-empty a { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; margin-top: 12px; border-radius: 999px; background: var(--zg-ink); color: #fff; text-decoration: none; font-weight: 600; }

/* ---------------- aperçu rapide ---------------- */
.zg-qv { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 24px; background: rgba(17, 17, 17, .55); }
.zg-qv[hidden] { display: none; }
.zg-qv-box { position: relative; display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 420px); gap: 28px; max-height: calc(100vh - 48px); overflow: auto; padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); box-sizing: border-box; animation: zgIn .18s ease; }
.zg-qv-x { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--zg-soft); cursor: pointer; }
.zg-qv-x svg { width: 18px; height: 18px; }
.zg-qv-main { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #f5f5f5; }
.zg-qv-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zg-qv-main span { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: #fff; font: 600 12.5px Inter, sans-serif; }
.zg-qv-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.zg-qv-thumbs button { flex: none; width: 76px; height: 92px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: #f5f5f5; cursor: pointer; opacity: .7; }
.zg-qv-thumbs button.is-on { opacity: 1; box-shadow: inset 0 0 0 2px var(--zg-ink); }
.zg-qv-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zg-qv-side { padding: 16px 28px 8px 0; display: flex; flex-direction: column; }
.zg-qv-brand { font: 800 24px/1.2 Inter, sans-serif; letter-spacing: -.02em; }
.zg-qv-name { margin: 4px 0 0; font-size: 15px; color: #333; }
.zg-qv-cd { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 6px 12px; border-radius: 999px; background: #fff1e6; color: #b34700; font: 700 12.5px Inter, sans-serif; }
.zg-qv-cd svg { width: 14px; height: 14px; stroke-width: 2.2; }
.zg-qv-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-top: 14px; }
.zg-qv-price b { font: 800 21px/1 Inter, sans-serif; }
.zg-qv-price b.is-red { color: var(--zg-red); }
.zg-qv-price span { font-size: 13.5px; color: var(--zg-muted); }
.zg-qv-price em { font-style: normal; font-weight: 700; color: var(--zg-red); }
.zg-qv-label { margin-top: 20px; font-size: 14px; }
.zg-qv-colors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.zg-qv-colors button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #e3e5e5; border-radius: 10px; background: #fff; cursor: pointer; }
.zg-qv-colors button.is-on { border: 2px solid var(--zg-ink); }
.zg-qv-colors i { width: 26px; height: 26px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.zg-qv-select { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 54px; margin-top: 20px; padding: 0 16px; border: 1px solid #d9dcdc; border-radius: 12px; background: #fff; font: 500 15px Inter, sans-serif; color: var(--zg-ink); cursor: pointer; }
.zg-qv-select svg { width: 18px; height: 18px; }
.zg-qv-select:hover { border-color: var(--zg-ink); }
.zg-qv-add { flex: none; width: 100%; height: 54px; margin-top: 14px; font-size: 15px; }
.zg-qv-more { align-self: flex-end; margin-top: 16px; color: var(--zg-ink); font: 600 14px Inter, sans-serif; text-decoration: none; }
.zg-qv-more:hover { text-decoration: underline; }
.zg-qv-tabs { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid var(--zg-line); }
.zg-qv-tabs b { font: 700 16px Inter, sans-serif; }
.zg-qv-tabs a { font-size: 13.5px; color: var(--zg-muted); }
.zg-qv-sizes button { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 14px; width: 100%; height: 44px; padding: 0 12px; border-radius: 10px; font: 600 15px Inter, sans-serif; cursor: pointer; }
.zg-qv-sizes button:hover { background: var(--zg-soft); }
.zg-qv-sizes button i { width: 20px; height: 20px; border: 1.5px solid #9aa0a0; border-radius: 50%; box-sizing: border-box; }
.zg-qv-sizes button.is-on i { border: 6px solid var(--zg-ink); }

.zg-toast { position: fixed; left: 50%; bottom: 28px; z-index: 2100; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: var(--zg-ink); color: #fff; font: 600 14px Inter, sans-serif; box-shadow: 0 14px 40px rgba(0, 0, 0, .25); opacity: 0; transform: translate(-50%, 10px); transition: opacity .25s ease, transform .25s ease; }
.zg-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.zg-toast a { color: #ff9a4d; text-decoration: none; }

/* ---------------- feuille des filtres (mobile) ---------------- */
.zg-sheet { position: fixed; inset: 0; z-index: 2000; background: rgba(17, 17, 17, .45); }
.zg-sheet[hidden] { display: none; }
.zg-sheet-box { position: absolute; left: 0; right: 0; bottom: 0; top: 64px; display: flex; flex-direction: column; border-radius: 20px 20px 0 0; background: #fff; animation: zgUp .22s ease; }
@keyframes zgUp { from { transform: translateY(30px); opacity: .6; } to { transform: none; opacity: 1; } }
.zg-sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 8px; }
.zg-sheet-head b { font: 800 19px Inter, sans-serif; }
.zg-sheet-head button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--zg-soft); }
.zg-sheet-head svg { width: 18px; height: 18px; }
.zg-sheet-body { flex: 1; overflow-y: auto; padding: 0 4px; }
.zg-sheet-sec { border-bottom: 1px solid var(--zg-line); }
.zg-sheet-sec h3 { margin: 0; padding: 16px 16px 0; font: 700 15px Inter, sans-serif; }
.zg-sheet-sec .zg-sizes { grid-template-columns: repeat(5, minmax(0, 1fr)); max-height: none; }
.zg-sheet-sec .zg-colors, .zg-sheet-sec .zg-brands { max-height: none; }
.zg-sheet-foot { display: flex; gap: 10px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--zg-line); }

/* ---------------- tablette / mobile ---------------- */
@media (max-width: 1200px) {
    body.zg-body .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 900px) {
    .zg-page { padding: 14px 14px 40px; gap: 0; }
    .zg-side { display: none; }
    body.zg-body .zg-head h1 { font-size: 22px; }
    body.zg-body .category-header.zg-head { padding-bottom: 12px; }
    .zg-head-tools { width: 100%; margin-left: 0; }
    .zg-mobile-only { display: inline-flex !important; }
    .zg-sort { flex: 1; justify-content: space-between; }
    .zg-filters { display: none; }
    .zg-active { margin-top: 12px; }
    body.zg-body .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px 10px !important; margin-top: 14px !important; }
    .zg-quick { display: none; }
    .zg-fav { width: 32px; height: 32px; top: 8px; right: 8px; }
    .zg-tag { bottom: 10px; font-size: 11px; padding: 4px 10px; }
    .zg-brand { font-size: 12px; }
    .zg-name { font-size: 13px; }
    .zg-amt { font-size: 14.5px; }

    .zg-qv { padding: 0; place-items: end stretch; }
    .zg-qv-box { grid-template-columns: 1fr; gap: 0; width: 100%; max-height: calc(100vh - 40px); padding: 0; border-radius: 20px 20px 0 0; animation: zgUp .22s ease; }
    .zg-qv-main { aspect-ratio: auto; height: 52vh; border-radius: 0; }
    .zg-qv-thumbs { padding: 0 14px; }
    .zg-qv-x { background: #fff; }
    .zg-qv-side { padding: 16px; }
    .zg-qv-brand { font-size: 20px; }
}

/* Fifi se cache pendant l'aperçu et les filtres */
html.zg-lock #zl-root .zl-fab { display: none !important; }
.zg-price { flex-wrap: nowrap; }
.zg-price label { min-width: 0; }
@media (max-width: 900px) {
    .zg-qv-add { position: sticky; bottom: 12px; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
}

/* mobile : sous-catégories en pastilles */
.zg-main > .audience-filters { display: flex; gap: 8px; margin: 12px 0 0; padding: 0 0 2px; border: 0; background: none; overflow-x: auto; scrollbar-width: none; }
.zg-main > .audience-filters[hidden] { display: none; }
.zg-main > .audience-filters::-webkit-scrollbar { display: none; }
.zg-main > .audience-filters .audience-filter-btn { all: unset; flex: none; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--zg-soft); color: var(--zg-ink); font: 500 14px Inter, sans-serif; cursor: pointer; }
.zg-main > .audience-filters .audience-filter-btn.active { background: var(--zg-ink); color: #fff; font-weight: 600; }

/* tri : bouton + feuille sur mobile */
.zg-sortbtn b { font-weight: 600; }
.zg-sheet-small .zg-sheet-box { top: auto; max-height: 70vh; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
.zg-sort-list { display: flex; flex-direction: column; padding: 4px 8px 8px; }
.zg-sort-list button { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 14px; height: 50px; padding: 0 12px; border-radius: 10px; font: 500 15px Inter, sans-serif; cursor: pointer; }
.zg-sort-list button:hover { background: var(--zg-soft); }
.zg-sort-list button i { width: 20px; height: 20px; border: 1.5px solid #9aa0a0; border-radius: 50%; box-sizing: border-box; }
.zg-sort-list button.is-on { font-weight: 700; }
.zg-sort-list button.is-on i { border: 6px solid var(--zg-ink); }
@media (max-width: 900px) {
    .zg-sort { display: none !important; }
    .zg-head-tools { gap: 8px; }
    .zg-head-tools .zg-pill { flex: 1; justify-content: center; height: 40px; font-size: 14px; }
}

/* ---------------- boutique d'un vendeur ---------------- */
.zg-page-shop .zg-main { flex-basis: 100%; }
.zs-head { display: flex; align-items: center; gap: 16px; margin: 14px 0 22px; padding: 4px 0 18px; border-radius: 0; background: none; border-bottom: 1px solid #ececec; }
.zs-logo { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--zg-ink); color: #fff; font: 800 24px Inter, sans-serif; }
.zs-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zs-info { min-width: 0; }
.zs-info h1 { display: flex; align-items: center; gap: 6px; margin: 0; font: 800 22px/1.2 Inter, sans-serif; letter-spacing: -.02em; }
.zs-ok { display: inline-grid; place-items: center; width: 20px; height: 20px; color: #1f9d55; font-style: normal; }
.zs-ok[hidden] { display: none; }
.zs-ok svg { width: 20px; height: 20px; stroke-width: 1.8; }
.zs-desc { margin: 4px 0 0; font-size: 14px; color: #444; line-height: 1.4; }
.zs-desc[hidden] { display: none; }
.zs-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 6px 0 0; font-size: 13px; color: var(--zg-muted); }
.zs-meta span[hidden] { display: none; }
.zs-msg { padding: 14px 16px; border-radius: 12px; background: #fff1e6; color: #b34700; font-size: 14px; }
.zs-msg[hidden] { display: none; }
body.zg-body .zg-head h1.zs-h2 { font-size: 20px; }
@media (max-width: 900px) {
    .zs-head { padding: 2px 0 14px; gap: 12px; border-radius: 0; margin: 10px 0 14px; }
    .zs-logo { width: 52px; height: 52px; font-size: 20px; }
    .zs-info h1 { font-size: 18px; }
    body.zg-body .zg-head h1.zs-h2 { font-size: 17px; }
}
.zg-ref b { white-space: nowrap; }
@media (max-width: 900px) { .zg-ref-l { display: none; } }
/* un seul titre : le fil « Boutique › … » faisait doublon avec le titre */
.zg-crumb { display: none !important; }
body.zg-body .category-header.zg-head { margin-top: 4px !important; }
/* prix : ancien prix barré + remise au-dessus, prix en dessous (comme les grandes boutiques) */
.zg-ref { margin-top: 4px; font-size: 12.5px; }
.zg-ref + .zg-amt { margin-top: 1px; }
