/* Add to cart without leaving the page (VTF\WooCommerce\QuickAdd). Colours follow the Black Friday page:
   navy #13233F / #0E1A2E, amber #E8A93B / #D4952A, pill radius. */

/* Small button added under each linked row (Zoo Pass sizes). */
.vtf-qa-row .fusion-column-wrapper { position: relative; }
.vtf-qa-btn {
    display: block;
    width: 100%;
    margin: 10px 0 0;
    padding: 9px 14px;
    border: 0;
    border-radius: 999px;
    background: #13233F;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 2;
    transition: background-color .2s ease, color .2s ease;
    -webkit-appearance: none;
    appearance: none;
}
.vtf-qa-btn:hover,
.vtf-qa-btn:focus-visible { background: #0E1A2E; color: #fff; }
.vtf-qa-btn:focus-visible { outline: 2px solid #E8A93B; outline-offset: 2px; }

/* Shared states: the injected buttons and ordinary Avada buttons. */
.vtf-qa-busy { opacity: .75; cursor: progress !important; }
.vtf-qa-btn.vtf-qa-done,
.vtf-qa-btn.vtf-qa-done:hover { background: #E8A93B; color: #0E1A2E; }

/* Confirmation bar. */
.vtf-qa-bar {
    position: fixed;
    left: 50%;
    bottom: 16px;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    flex-wrap: wrap;
    width: calc(100% - 32px);
    max-width: 720px;
    padding: 14px 16px 14px 20px;
    border-radius: 18px;
    background: #13233F;
    color: #fff;
    box-shadow: 0 12px 32px rgba(14, 26, 46, .35);
    font-size: 16px;
    line-height: 1.35;
    transform: translate(-50%, calc(100% + 32px));
    opacity: 0;
    visibility: hidden;
    transition: transform .3s ease, opacity .3s ease, visibility 0s linear .3s;
}
.vtf-qa-bar--open {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
    transition: transform .3s ease, opacity .3s ease;
}
.vtf-qa-bar__text { flex: 1 1 240px; min-width: 0; color: #fff; }
.vtf-qa-bar__text strong { color: #fff; font-weight: 700; }
.vtf-qa-bar__tick {
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 8px;
    border-radius: 50%;
    background: #E8A93B;
    color: #0E1A2E;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
}
.vtf-qa-bar__note { display: block; margin-top: 4px; color: #F4C95D; font-size: 13px; }
.vtf-qa-bar__actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.vtf-qa-bar a.vtf-qa-bar__link,
.vtf-qa-bar a.vtf-qa-bar__cta {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}
.vtf-qa-bar a.vtf-qa-bar__link { border: 2px solid #fff; color: #fff; padding: 7px 16px; }
.vtf-qa-bar a.vtf-qa-bar__link:hover { background: #fff; color: #13233F; }
.vtf-qa-bar a.vtf-qa-bar__cta { background: #E8A93B; color: #0E1A2E; }
.vtf-qa-bar a.vtf-qa-bar__cta:hover { background: #D4952A; color: #0E1A2E; }
.vtf-qa-bar__close {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.vtf-qa-bar__close:hover { background: rgba(255, 255, 255, .15); }
.vtf-qa-bar--error { background: #7A1F1F; }

/* Keep clear of the "Need help?" chat tab in the bottom-right corner. */
@media (max-width: 1100px) {
    .vtf-qa-bar { bottom: 64px; }
}
@media (max-width: 480px) {
    .vtf-qa-bar { bottom: 60px; width: calc(100% - 24px); padding: 12px 12px 12px 16px; font-size: 15px; }
    .vtf-qa-bar__actions { width: 100%; }
    .vtf-qa-bar a.vtf-qa-bar__link,
    .vtf-qa-bar a.vtf-qa-bar__cta { flex: 1 1 0; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .vtf-qa-bar, .vtf-qa-bar--open, .vtf-qa-btn { transition: none; }
}
