/* À CONSERVER — DESIGN PREMIUM, validé le 25/11/2026. Points centrés et cliquables sur mobile ET ordinateur, point actif allongé, cinq visibles maximum ; pas de flèches latérales. Transférer ces contrôles si les classes ou le modèle de page changent. Voir DESIGN-A-CONSERVER.md. */
/* Points de galerie partagés, ordinateur et mobile. */

 body.cp-signature .gallery .gallery-arrow,
 body.cp-signature .gallery .photo-count,
 body.cp-atelier .product-card .cp-gallery-direction{display:none}
 body.cp-atelier .product-card .cp-card-gallery{position:relative}
 body.cp-atelier .product-card .cp-gallery-meta{position:absolute;left:50%;bottom:5px;transform:translateX(-50%);width:max-content;height:32px;z-index:3}
 body.cp-signature .gallery .gallery-dots,
 body.cp-atelier .product-card .cp-gallery-dots{display:flex;align-items:center;justify-content:center;gap:0;padding:0 4px;width:max-content;max-width:none;height:32px;isolation:isolate}
 body.cp-signature .gallery .gallery-dots{left:50%;bottom:5px;transform:translateX(-50%);z-index:3}
 body.cp-atelier .product-card .cp-gallery-dots{position:relative}
 body.cp-signature .gallery .gallery-dots:before,
 body.cp-atelier .product-card .cp-gallery-dots:before{content:"";position:absolute;inset:5px 0;z-index:-1;border:1px solid #ffffff80;border-radius:999px;background:#f8f7eec9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 1px 4px #253d2c18}
 body.cp-signature .gallery .gallery-dots button,
 body.cp-atelier .product-card .cp-gallery-dots>button{display:grid;place-items:center;flex:0 0 24px;width:24px;min-width:24px;max-width:24px;height:32px;min-height:32px;padding:0;margin:0;border:0;border-radius:999px;background:transparent;box-shadow:none;cursor:pointer}
 body.cp-signature .gallery .gallery-dots i,
 body.cp-atelier .product-card .cp-gallery-dots>button:after{content:"";display:block;box-sizing:border-box;width:5px;height:5px;border:1px solid #244c3d99;border-radius:999px;background:transparent;box-shadow:none;transition:none}
 body.cp-signature .gallery .gallery-dots button[aria-pressed=true] i,
 body.cp-atelier .product-card .cp-gallery-dots>button.is-current:after{width:15px;background:#244c3d;border-color:#244c3d}
 body.cp-signature .gallery .gallery-dots .cp-dot-hidden,
 body.cp-atelier .product-card .cp-gallery-dots>.cp-dot-hidden{display:none}
 body.cp-signature .gallery .gallery-dots button:focus-visible,
 body.cp-atelier .product-card .cp-gallery-dots>button:focus-visible{outline:2px solid #244c3d;outline-offset:-2px}

@media(min-width:601px){
 body.cp-signature .gallery .gallery-dots,
 body.cp-atelier .product-card .cp-gallery-dots,
 body.cp-atelier .product-card .cp-gallery-meta{height:36px;bottom:8px}
 body.cp-atelier .product-card .cp-gallery-dots{bottom:auto}
 body.cp-signature .gallery .gallery-dots button,
 body.cp-atelier .product-card .cp-gallery-dots>button{flex-basis:28px;width:28px;min-width:28px;max-width:28px;height:36px;min-height:36px}
 body.cp-signature .gallery .gallery-dots i,
 body.cp-atelier .product-card .cp-gallery-dots>button:after{width:6px;height:6px}
 body.cp-signature .gallery .gallery-dots button[aria-pressed=true] i,
 body.cp-atelier .product-card .cp-gallery-dots>button.is-current:after{width:16px}
}
@media(min-width:601px) and (hover:hover) and (pointer:fine){
 body.cp-signature .gallery[data-cp-hover-edge]:after,
 body.cp-atelier .product-card .cp-card-gallery[data-cp-hover-edge] .cp-gallery-viewport:after{content:"";position:absolute;inset:0;z-index:2;border-radius:inherit;pointer-events:none}
 body.cp-signature .gallery[data-cp-hover-edge=next]:after,
 body.cp-atelier .product-card .cp-card-gallery[data-cp-hover-edge=next] .cp-gallery-viewport:after{background:linear-gradient(90deg,transparent 78%,#f8f5e633)}
 body.cp-signature .gallery[data-cp-hover-edge=previous]:after,
 body.cp-atelier .product-card .cp-card-gallery[data-cp-hover-edge=previous] .cp-gallery-viewport:after{background:linear-gradient(270deg,transparent 78%,#f8f5e633)}
}
