/* Éléments d'interface globaux : bouton « haut de page » et loaders. Couleurs et positions : règles générées (UiExtras::css). */
.bp-top { position: fixed; z-index: 9990; display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box; border: 0; cursor: pointer; font: 600 14px/1 inherit; box-shadow: var(--bp-shadow-md,0 6px 18px rgba(20, 24, 40, .22)); opacity: 0; transform: translateY(8px); visibility: hidden; transition: opacity calc(.25s * var(--bp-motion-speed,1)) var(--bp-ease,ease), transform calc(.25s * var(--bp-motion-speed,1)) var(--bp-ease,ease), visibility 0s linear calc(.25s * var(--bp-motion-speed,1)), box-shadow calc(.2s * var(--bp-motion-speed,1)) var(--bp-ease,ease); -webkit-tap-highlight-color: transparent; }
.bp-top.is-visible { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.bp-top:hover { box-shadow: var(--bp-shadow-md,0 10px 24px rgba(20, 24, 40, .3)); }
.bp-top:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px #1f2433; }
.bp-top svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 749px) { body.single-product .bp-top[style*="bottom"], body.single-product .bp-top { margin-bottom: 64px; } }

.bp-loader { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; flex-direction: column; gap: 16px; text-align: center; padding: 24px; font: 600 15px/1.3 inherit; --bp-loader-c: var(--bp-highlight,#FFCD00); }
.bp-loader.is-on { display: flex; animation: bp-loader-in .2s ease both; }
.bp-loader__img { max-width: 120px; max-height: 120px; object-fit: contain; }
.bp-loader__art { position: relative; width: 48px; height: 48px; }
.bp-loader[data-style="ring"] .bp-loader__art::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); border-top-color: var(--bp-loader-c); animation: bp-spin .9s linear infinite; }
.bp-loader[data-style="dots"] .bp-loader__art { display: flex; align-items: center; justify-content: center; gap: 8px; height: 20px; }
.bp-loader[data-style="dots"] .bp-loader__art i { width: 10px; height: 10px; border-radius: 50%; background: var(--bp-loader-c); animation: bp-dot 1s ease-in-out infinite; }
.bp-loader[data-style="dots"] .bp-loader__art i:nth-child(2) { animation-delay: .15s; }
.bp-loader[data-style="dots"] .bp-loader__art i:nth-child(3) { animation-delay: .3s; }
.bp-loader[data-style="pulse"] .bp-loader__art::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--bp-loader-c); animation: bp-pulse 1.2s ease-in-out infinite; }
.bp-loader[data-style="bar"] .bp-loader__art { width: 160px; height: 4px; border-radius: var(--bp-radius-sm,4px); background: rgba(255, 255, 255, .3); overflow: hidden; }
.bp-loader[data-style="bar"] .bp-loader__art::before { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; border-radius: var(--bp-radius-sm,4px); background: var(--bp-loader-c); animation: bp-bar 1.1s ease-in-out infinite; }
.bp-loader__text { margin: 0; }
@keyframes bp-spin { to { transform: rotate(360deg); } }
@keyframes bp-dot { 0%, 80%, 100% { transform: scale(.6); opacity: .5; } 40% { transform: scale(1); opacity: 1; } }
@keyframes bp-pulse { 0%, 100% { transform: scale(.6); opacity: .6; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes bp-bar { 0% { left: -40%; } 100% { left: 100%; } }
@keyframes bp-loader-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	.bp-top, .bp-top.is-visible { transition: none; transform: none; }
	.bp-loader.is-on, .bp-loader__art::before, .bp-loader__art i { animation: none !important; }
	.bp-loader[data-style="ring"] .bp-loader__art::before { border-color: var(--bp-loader-c); }
}
