/* Stories des vendeurs : rangée de l'accueil, anneau de la page boutique, lecteur. */
.st-rangee{max-width:1280px;margin:18px auto 0;padding:0 5vw}
.st-rangee[hidden]{display:none}
.st-rangee-liste{display:flex;gap:14px;overflow-x:auto;padding:6px 2px 10px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.st-rangee-liste::-webkit-scrollbar{display:none}
.st-rond{flex:0 0 auto;width:76px;display:flex;flex-direction:column;align-items:center;gap:6px;background:none;border:0;padding:0;cursor:pointer;color:inherit;font:inherit}
.st-anneau{width:68px;height:68px;border-radius:50%;padding:3px;background:conic-gradient(#E6A817,#E31B23,#1B6B3A,#E6A817);display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;overflow:hidden}
.st-anneau img{width:100%;height:100%;object-fit:cover;border-radius:50%;border:2px solid #fff;background:#fff}
.st-vu .st-anneau{background:#C9D3CD}
/* La story dans le cercle, le logo de la boutique en petit en bas à droite. */
.st-cercle{position:relative;display:block}
.st-mini{position:absolute;right:-2px;bottom:-2px;width:26px;height:26px;border-radius:50%;border:2px solid #fff;background:#1B6B3A;color:#fff;font-size:.6rem;font-weight:700;display:flex;align-items:center;justify-content:center;overflow:hidden}
.st-mini img{width:100%;height:100%;object-fit:cover}
.st-nom{font-size:.72rem;max-width:76px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st-rond:focus-visible{outline:2px solid #1B6B3A;outline-offset:3px;border-radius:12px}

/* Page boutique : anneau autour du logo quand une story est en cours. */
.st-logo-actif{cursor:pointer;box-shadow:0 0 0 3px #fff,0 0 0 6px #E6A817 !important}
.st-logo-actif.st-vu{box-shadow:0 0 0 3px #fff,0 0 0 6px #C9D3CD !important}

/* Lecteur plein écran */
body.st-ouvert{overflow:hidden}
.st-lecteur{position:fixed;inset:0;z-index:1000;background:#000;color:#fff;display:flex;flex-direction:column;touch-action:none;user-select:none}
.st-barres{display:flex;gap:4px;padding:10px 12px 0}
.st-barre{flex:1;height:3px;background:rgba(255,255,255,.35);border-radius:2px;overflow:hidden}
.st-barre i{display:block;height:100%;width:0;background:#fff}
.st-finie i{width:100%}
.st-active i{animation:st-remplir var(--duree,5000ms) linear forwards}
.st-video .st-active i{animation:none}
.st-pause .st-active i,.st-attente .st-active i{animation-play-state:paused}
@keyframes st-remplir{from{width:0}to{width:100%}}
.st-tete{display:flex;align-items:center;gap:10px;padding:10px 12px;position:relative;z-index:2}
.st-logo-lecteur .st-anneau{width:36px;height:36px;padding:0;background:#1B6B3A;font-size:.8rem}
.st-quand{opacity:.75;font-size:.8rem}
.st-fermer{margin-left:auto;background:none;border:0;color:#fff;font-size:1.4rem;width:44px;height:44px;cursor:pointer}
.st-media{flex:1;display:flex;align-items:center;justify-content:center;min-height:0}
.st-media img,.st-media video{max-width:100%;max-height:100%;object-fit:contain}
.st-zone{position:absolute;top:70px;bottom:120px;width:40%;background:none;border:0;z-index:1;cursor:pointer}
.st-prec{left:0}
.st-suiv{right:0;width:60%}
.st-son{position:absolute;top:70px;left:50%;transform:translateX(-50%);z-index:3;background:rgba(0,0,0,.55);color:#fff;border:1px solid rgba(255,255,255,.5);border-radius:99px;padding:8px 16px;font:inherit}
.st-son[hidden]{display:none}
.st-bas{position:relative;z-index:2;padding:12px 16px calc(16px + env(safe-area-inset-bottom));background:linear-gradient(transparent,rgba(0,0,0,.7))}
.st-legende{margin:0 0 10px;font-size:1rem;line-height:1.35}
.st-legende:empty{display:none}
.st-actions{display:flex;gap:10px}
.st-actions button{flex:1;min-height:46px;border-radius:99px;font:inherit;font-weight:700;cursor:pointer}
.st-produit{background:#E6A817;color:#0D1F17;border:0}
.st-produit[hidden]{display:none}
.st-repondre{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.7)}
@media (min-width:700px){.st-lecteur{max-width:460px;left:50%;transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.st-active i{animation:none;width:100%}}
