/* Axcom – cookie lišta a tlačítko Zpět nahoru */
.axd-cookie {
	position: fixed; left: 20px; bottom: 20px; z-index: 9990; box-sizing: border-box;
	display: flex; flex-direction: column; gap: 14px; width: min(520px, calc(100vw - 40px)); padding: 24px 26px;
	border-radius: 22px; border: 1px solid #2C2C30; background: #111113; color: #B3B4BA;
	box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55);
	font-family: "Manrope", "Segoe UI", system-ui, sans-serif; font-size: 15px; line-height: 1.6;
	animation: axd-in .5s cubic-bezier(.2, .7, .2, 1) both;
}
.axd-cookie[hidden] { display: none; }
@keyframes axd-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.axd-cookie.is-leaving { animation: axd-out .3s ease both; }
@keyframes axd-out { to { opacity: 0; transform: translateY(24px); } }
.axd-cookie__title { margin: 0; color: #fff; font-family: "Sora", "Segoe UI", system-ui, sans-serif; font-size: 18px; font-weight: 700; }
.axd-cookie__text { margin: 0; }
.axd-cookie__text a { color: #4DA3FF; font-weight: 700; }
.axd-cookie__text a:hover { color: #fff; }
.axd-cookie__btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.axd-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 999px;
	border: 1.5px solid transparent; font: 700 15px "Manrope", "Segoe UI", system-ui, sans-serif; cursor: pointer;
	transition: background .2s, border-color .2s, transform .2s;
}
.axd-btn[hidden] { display: none; }
.axd-btn:hover { transform: translateY(-1px); }
.axd-btn:focus-visible, .axd-top:focus-visible, .axd-switch input:focus-visible + .axd-switch__ui { outline: 3px solid #4DA3FF; outline-offset: 2px; }
.axd-btn--primary { background: #0073E6; color: #fff; }
.axd-btn--primary:hover { background: #1A86F5; }
.axd-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .25); color: #fff; }
.axd-btn--ghost:hover { border-color: #4DA3FF; }
.axd-cookie__settings { display: flex; flex-direction: column; gap: 10px; }
.axd-cookie__settings[hidden] { display: none; }
.axd-switch { display: flex; align-items: flex-start; gap: 14px; padding: 14px; border-radius: 14px; background: #1C1C1F; cursor: pointer; }
.axd-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.axd-switch__ui { position: relative; flex-shrink: 0; width: 42px; height: 24px; margin-top: 2px; border-radius: 999px; background: #3A3B40; transition: background .2s; }
.axd-switch__ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.axd-switch input:checked + .axd-switch__ui { background: #0073E6; }
.axd-switch input:checked + .axd-switch__ui::after { transform: translateX(18px); }
.axd-switch input:disabled + .axd-switch__ui { opacity: .6; }
.axd-switch strong { display: block; color: #fff; font-size: 15px; }
.axd-switch small { display: block; font-size: 13px; line-height: 1.5; }

/* Zpět nahoru */
.axd-top {
	position: fixed; right: 24px; bottom: calc(24px + var(--axd-lift, 0px)); z-index: 9980;
	display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0;
	border: 0; border-radius: 50%; background: #0073E6; color: #fff; cursor: pointer;
	box-shadow: 0 14px 30px -10px rgba(0, 115, 230, .7);
	opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
	transition: opacity .3s, visibility .3s, transform .3s cubic-bezier(.2, .7, .2, 1), background .2s, bottom .3s;
}
.axd-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.axd-top:hover { background: #1A86F5; transform: translateY(-3px); }
.axd-top svg { transition: transform .3s; }
.axd-top:hover svg { transform: translateY(-2px); }

@media (max-width: 680px) {
	.axd-cookie { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 20px; }
	.axd-cookie__btns { justify-content: stretch; }
	.axd-cookie__btns .axd-btn { flex: 1 1 auto; }
	.axd-top { right: 16px; bottom: calc(16px + var(--axd-lift, 0px)); width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
	.axd-cookie, .axd-top, .axd-top svg, .axd-btn { animation: none !important; transition: none !important; }
}
@media print { .axd-cookie, .axd-top { display: none !important; } }
