/* Ayoka — bouton flottant « Commander » */
#ayk-bf { position: fixed; z-index: 99990; right: 16px; bottom: 20px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
	font-family: "Gotham", "Montserrat", "Helvetica Neue", Arial, sans-serif; -webkit-tap-highlight-color: transparent;
	opacity: 0; transform: translateY(24px) scale(.96); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.9,.3,1.3); touch-action: none; user-select: none; }
#ayk-bf.vu { opacity: 1; transform: none; }
#ayk-bf.gauche { align-items: flex-start; }
#ayk-bf.glisse { transition: none; cursor: grabbing; }
#ayk-bf.glisse .ayk-bf-principal { transform: scale(1.04) rotate(-1deg); box-shadow: 0 22px 44px rgba(0,0,0,.35), 0 8px 18px rgba(210,57,32,.35); }
#ayk-bf * { box-sizing: border-box; }

.ayk-bf-ligne { display: flex; align-items: center; gap: 8px; }
#ayk-bf.gauche .ayk-bf-ligne { flex-direction: row-reverse; }

/* Bouton principal */
.ayk-bf-principal { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 9px 22px 9px 9px; border-radius: 999px; text-decoration: none !important;
	color: #fff !important; background: linear-gradient(135deg, #E5502F 0%, #D23920 45%, #A82A16 100%);
	box-shadow: 0 14px 30px rgba(210,57,32,.38), 0 4px 10px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.25);
	border: 1px solid rgba(255,255,255,.18); transition: transform .2s ease, box-shadow .2s ease; overflow: visible; cursor: pointer; }
.ayk-bf-principal:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(210,57,32,.45), 0 6px 14px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.25); }
.ayk-bf-principal:focus-visible { outline: 3px solid #C9B98A; outline-offset: 3px; }
.ayk-bf-principal::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px; border-radius: 3px;
	background: linear-gradient(90deg, #E27F0C 0 20%, #009492 20% 40%, #C9B98A 40% 60%, #155442 60% 80%, #601735 80%); opacity: .9; }
.ayk-bf-ico { position: relative; width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: #1d1b19; color: #C9B98A; box-shadow: inset 0 0 0 2px rgba(201,185,138,.45); }
.ayk-bf-ico svg { width: 26px; height: 26px; }
.ayk-bf-txt { display: flex; flex-direction: column; line-height: 1.15; }
.ayk-bf-txt strong { font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ayk-bf-sous { font-size: 11.5px; font-weight: 500; opacity: .92; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.ayk-bf-sous::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 3px rgba(61,220,132,.25); }
#ayk-bf.ferme .ayk-bf-sous::before { background: #f2b8ad; box-shadow: none; }
.ayk-bf-badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #C9B98A; color: #1d1b19; font: 700 11px/20px Arial, sans-serif; text-align: center; box-shadow: 0 0 0 2px #fff; }
.ayk-bf-badge[hidden] { display: none; }

/* Boutons secondaires */
.ayk-bf-plus, .ayk-bf-pastille { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; padding: 0;
	background: #1d1b19; color: #C9B98A; box-shadow: 0 8px 20px rgba(0,0,0,.28), inset 0 0 0 1px rgba(201,185,138,.35); transition: transform .2s ease; }
.ayk-bf-plus:hover { transform: scale(1.06); }
.ayk-bf-plus svg { width: 20px; height: 20px; transition: transform .25s ease; }
#ayk-bf.menu-ouvert .ayk-bf-plus svg { transform: rotate(45deg); }
.ayk-bf-poignee { position: absolute; top: 50%; left: -14px; width: 8px; height: 22px; transform: translateY(-50%); border-radius: 4px; opacity: 0; transition: opacity .2s;
	background-image: radial-gradient(circle, rgba(29,27,25,.55) 1.2px, transparent 1.4px); background-size: 4px 5px; cursor: grab; }
#ayk-bf.gauche .ayk-bf-poignee { left: auto; right: -14px; }
#ayk-bf:hover .ayk-bf-poignee { opacity: 1; }

/* Menu rapide */
.ayk-bf-menu { display: flex; flex-direction: column; gap: 6px; min-width: 220px; padding: 8px; border-radius: 16px; background: #1d1b19; box-shadow: 0 18px 40px rgba(0,0,0,.35); animation: ayk-bf-menu .22s ease; }
.ayk-bf-menu[hidden] { display: none; }
.ayk-bf-menu a, .ayk-bf-menu button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 0; background: transparent; color: #fff !important; text-decoration: none !important; font: 600 14px/1.2 inherit; font-family: inherit; text-align: left; cursor: pointer; width: 100%; }
.ayk-bf-menu a:hover, .ayk-bf-menu button:hover, .ayk-bf-menu a:focus-visible, .ayk-bf-menu button:focus-visible { background: rgba(201,185,138,.14); outline: none; }
.ayk-bf-menu span[aria-hidden] { width: 26px; text-align: center; font-size: 17px; }
.ayk-bf-menu .sep { height: 1px; background: rgba(255,255,255,.1); margin: 2px 6px; }
.ayk-bf-menu .discret { color: #a8a29a !important; font-weight: 500; font-size: 13px; }
@keyframes ayk-bf-menu { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }

/* Version réduite : une pastille */
.ayk-bf-pastille { display: none; width: 56px; height: 56px; background: linear-gradient(135deg, #E5502F, #A82A16); color: #fff; box-shadow: 0 12px 26px rgba(210,57,32,.4), 0 3px 8px rgba(0,0,0,.2); position: relative; }
.ayk-bf-pastille svg { width: 28px; height: 28px; }
#ayk-bf.reduit .ayk-bf-ligne, #ayk-bf.reduit .ayk-bf-menu { display: none; }
#ayk-bf.reduit .ayk-bf-pastille { display: grid; }

/* Animations */
#ayk-bf.anim-pulse .ayk-bf-principal::before, #ayk-bf.anim-pulse .ayk-bf-pastille::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid rgba(210,57,32,.55); animation: ayk-bf-pulse 2.8s ease-out infinite; pointer-events: none; }
@keyframes ayk-bf-pulse { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.18, 1.45); opacity: 0; } }
#ayk-bf.anim-rebond.vu .ayk-bf-principal, #ayk-bf.anim-rebond.vu .ayk-bf-pastille { animation: ayk-bf-rebond 6s ease-in-out 2s infinite; }
@keyframes ayk-bf-rebond { 0%, 88%, 100% { transform: none; } 91% { transform: translateY(-9px); } 94% { transform: none; } 96.5% { transform: translateY(-4px); } }
#ayk-bf.anim-brillance .ayk-bf-principal { overflow: hidden; }
#ayk-bf.anim-brillance .ayk-bf-principal::before { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: ayk-bf-brille 4.5s ease-in-out 1.5s infinite; pointer-events: none; }
@keyframes ayk-bf-brille { 0%, 70% { left: -60%; } 100% { left: 130%; } }
#ayk-bf.anim-cloche .ayk-bf-ico svg { transform-origin: 50% 20%; animation: ayk-bf-cloche 5s ease-in-out 2s infinite; }
@keyframes ayk-bf-cloche { 0%, 86%, 100% { transform: none; } 88% { transform: rotate(14deg); } 91% { transform: rotate(-12deg); } 94% { transform: rotate(7deg); } 97% { transform: rotate(-3deg); } }
#ayk-bf.ferme .ayk-bf-principal::before { animation: none !important; display: none; }

@media (max-width: 480px) {
	.ayk-bf-principal { padding: 7px 16px 7px 7px; gap: 10px; }
	.ayk-bf-ico { width: 40px; height: 40px; }
	.ayk-bf-txt strong { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
	#ayk-bf, #ayk-bf * { animation: none !important; transition: none !important; }
}
@media print { #ayk-bf { display: none !important; } }

/* Site en démonstration : étiquette au-dessus du bouton + liseré rayé */
.ayk-bf-demo { display: inline-flex; align-items: center; gap: 6px; align-self: flex-end; margin-bottom: -4px; padding: 4px 10px 4px 8px; border-radius: 999px; background: repeating-linear-gradient(-45deg, #E27F0C 0 8px, #cf7008 8px 16px); color: #fff; font: 800 10.5px/1.2 Montserrat, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 4px 12px rgba(226,127,12,.35); white-space: nowrap; pointer-events: none; }
.ayk-bf-demo i { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
#ayk-bf.gauche .ayk-bf-demo { align-self: flex-start; }
#ayk-bf.demo .ayk-bf-principal { outline: 3px dashed rgba(226,127,12,.9); outline-offset: 3px; }
#ayk-bf.demo .ayk-bf-pastille { outline: 3px dashed rgba(226,127,12,.9); outline-offset: 3px; }
