.ao-sticky-cta {
--ao-accent: #ff6b00;
--ao-button-text: #fff;
--ao-background: rgba(255,255,255,.92);
--ao-note: #333;
position: fixed;
inset: auto 0 0;
z-index: 99999;
box-sizing: border-box;
width: 100%;
padding: 16px 18px calc(16px + env(safe-area-inset-bottom, 0px));
border: 0;
border-top: 3px solid var(--ao-accent);
background: var(--ao-background);
box-shadow: 0 -4px 24px rgba(15,23,42,.12);
-webkit-backdrop-filter: blur(12px);
backdrop-filter: blur(12px);
color: var(--ao-note);
font-family: inherit;
text-align: center;
line-height: 1.5;
isolation: isolate;
}
.ao-sticky-cta, .ao-sticky-cta * { box-sizing: border-box; }
.ao-sticky-cta[hidden], .ao-sticky-cta [hidden] { display: none !important; }
.ao-sticky-cta__inner { position: relative; max-width: 640px; margin: 0 auto; }
.ao-sticky-cta__heading {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 6px 10px;
min-height: 32px;
margin: 0 0 10px;
}
.ao-sticky-cta--closable .ao-sticky-cta__heading { padding: 0 40px; }
.ao-sticky-cta .ao-sticky-cta__note {
margin: 0;
padding: 0;
color: var(--ao-note);
font-size: 14px;
font-weight: 700;
line-height: 1.6;
overflow-wrap: anywhere;
}
.ao-sticky-cta__badge {
display: inline-block;
max-width: 100%;
padding: 3px 9px;
border: 1px solid currentColor;
border-radius: 5px;
color: var(--ao-note);
font-size: 11px;
font-weight: 700;
line-height: 1.5;
overflow-wrap: anywhere;
}
.ao-sticky-cta .ao-sticky-cta__button {
position: relative;
display: flex;
align-items: center;
justify-content: center;
gap: 14px;
width: 100%;
min-height: 60px;
margin: 0;
padding: 16px 22px;
overflow: hidden;
border: 0;
border-radius: 12px;
background: var(--ao-accent);
box-shadow: 0 3px 8px rgba(0,0,0,.12);
color: var(--ao-button-text) !important;
font-family: inherit;
font-size: 18px;
font-weight: 800;
line-height: 1.5;
letter-spacing: .02em;
text-align: center;
text-decoration: none !important;
text-shadow: none;
cursor: pointer;
transition: transform .18s ease, box-shadow .18s ease;
}
.ao-sticky-cta__label { min-width: 0; overflow-wrap: anywhere; }
.ao-sticky-cta__arrow { flex: 0 0 auto; font-size: 23px; font-weight: 400; line-height: 1; }
.ao-sticky-cta .ao-sticky-cta__button::before { content: none; }
.ao-sticky-cta .ao-sticky-cta__button::after {
content: '';
position: absolute;
inset: 0;
pointer-events: none;
background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.32) 50%, transparent 70%);
transform: translateX(-160%);
}
.ao-sticky-cta .ao-sticky-cta__close {
position: absolute;
z-index: 2;
top: -4px;
right: -4px;
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
min-width: 40px;
min-height: 40px;
margin: 0;
padding: 0;
border: 1px solid rgba(0,0,0,.12);
border-radius: 50%;
background: #fff;
box-shadow: none;
color: #52525b;
font-family: Arial, sans-serif;
font-size: 24px;
font-weight: 400;
line-height: 1;
cursor: pointer;
appearance: none;
}
.ao-sticky-cta--closable:not(.ao-sticky-cta--has-heading) .ao-sticky-cta__button { width: calc(100% - 48px); }
.ao-sticky-cta--closable:not(.ao-sticky-cta--has-heading) .ao-sticky-cta__close { top: 10px; }
.ao-sticky-cta .ao-sticky-cta__button:focus-visible, .ao-sticky-cta .ao-sticky-cta__close:focus-visible {
outline: 3px solid #155eef;
outline-offset: 4px;
}
.ao-sticky-cta--classic { padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 0; box-shadow: 0 -2px 14px rgba(0,0,0,.14); }
.ao-sticky-cta--classic .ao-sticky-cta__inner { max-width: 520px; }
.ao-sticky-cta--classic .ao-sticky-cta__button { min-height: 48px; padding: 12px 18px; border-radius: 999px; font-size: 16px; font-weight: 700; box-shadow: none; }
.ao-sticky-cta--classic .ao-sticky-cta__note { font-size: 12px; font-weight: 400; }
.ao-sticky-cta--classic .ao-sticky-cta__heading { margin-bottom: 6px; }
.ao-sticky-cta--classic:not(.ao-sticky-cta--has-heading) .ao-sticky-cta__close { top: 4px; }
.ao-sticky-cta-spacer { display: block; height: 0; margin: 0; padding: 0; border: 0; pointer-events: none; }
.ao-sticky-cta.is-ready[data-motion="shine"] .ao-sticky-cta__button::after { animation: ao-cta-shine 3.2s ease-in-out .6s 3; }
@keyframes ao-cta-shine { 0%, 55% { transform: translateX(-160%); } 100% { transform: translateX(160%); } }
@media (hover: hover) {
.ao-sticky-cta .ao-sticky-cta__button:hover { transform: translateY(-1px); box-shadow: 0 5px 12px rgba(0,0,0,.18); }
.ao-sticky-cta .ao-sticky-cta__close:hover { background: #f4f4f5; }
}
@media (min-width: 768px) {
.ao-sticky-cta--mobile:not(.ao-sticky-cta--preview) { display: none !important; }
.ao-sticky-cta--standout:not(.ao-sticky-cta--preview) { left: 50%; right: auto; bottom: 20px; width: calc(100% - 40px); max-width: 760px; transform: translateX(-50%); border: 1px solid rgba(0,0,0,.08); border-top: 3px solid var(--ao-accent); border-radius: 18px; padding: 16px 24px; box-shadow: 0 8px 32px rgba(15,23,42,.16); }
.ao-sticky-cta--standout .ao-sticky-cta__button { min-height: 64px; font-size: 20px; }
}
@media (max-width: 359px) {
.ao-sticky-cta { padding-left: 12px; padding-right: 12px; }
.ao-sticky-cta .ao-sticky-cta__button { padding-left: 14px; padding-right: 14px; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
.ao-sticky-cta *, .ao-sticky-cta *::after { animation: none !important; transition: none !important; }
}
@media print { .ao-sticky-cta, .ao-sticky-cta-spacer { display: none !important; } }