/* =========================================================
   Accessibility - Reduced Motion
   ========================================================= */

.accessibility-reduced-motion {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}


/* =========================================================
   Reduced Motion Site Mode
   ========================================================= */


/* =========================================================
   1. Disable shared hover movement
   ========================================================= */

html.a11y-reduced-motion {
    --hover-lift-small: none;
    --hover-lift-medium: none;
    --hover-lift-large: none;

    scroll-behavior: auto !important;
}


/* =========================================================
   2. Shared cards / interactive movement
   ========================================================= */

html.a11y-reduced-motion .ui-card-hover:hover,
html.a11y-reduced-motion .fact-card:hover,
html.a11y-reduced-motion .cta-card:hover,
html.a11y-reduced-motion .personal-link-card:hover,
html.a11y-reduced-motion .seller-card:hover,
html.a11y-reduced-motion .directory-category-header:hover,
html.a11y-reduced-motion .inventory-product-card:hover,
html.a11y-reduced-motion .beanbin-product-card:hover,
html.a11y-reduced-motion .privacy-policy-card:hover,
html.a11y-reduced-motion .hero__stat:hover,
html.a11y-reduced-motion .storefront-product-card:hover,
html.a11y-reduced-motion .raid-next-card:hover {
    transform: none !important;
}


/* =========================================================
   3. Button / arrow movement
   ========================================================= */

html.a11y-reduced-motion .category-jump-nav a:hover,
html.a11y-reduced-motion .beanbin-cta-secondary:hover,
html.a11y-reduced-motion .footer-btn:hover,
html.a11y-reduced-motion .stream-primary-btn:hover,
html.a11y-reduced-motion .stream-secondary-btn:hover,
html.a11y-reduced-motion .storefront-product-btn:hover,
html.a11y-reduced-motion .storefront-view-all:hover,
html.a11y-reduced-motion .beanbin-active-filters a:hover,
html.a11y-reduced-motion .hero__actions .buy-btn:hover,
html.a11y-reduced-motion #backToTopBtn:hover {
    transform: none !important;
}

html.a11y-reduced-motion
.hero__actions .buy-btn:hover::after,
html.a11y-reduced-motion
.storefront-product-btn:hover span,
html.a11y-reduced-motion
.beanbin-submit-btn:hover span,
html.a11y-reduced-motion
.raid-hof-button:hover span,
html.a11y-reduced-motion
.raid-next-card:hover .raid-next-arrow {
    transform: none !important;
}


/* =========================================================
   4. Image / icon scaling
   ========================================================= */

html.a11y-reduced-motion
.beanbin-product-card:hover .product-image-wrapper img,
html.a11y-reduced-motion
.hero__stat:hover .hero__stat-icon,
html.a11y-reduced-motion
.raid-hof-card:hover .raid-hof-trophy {
    transform: none !important;
}


/* =========================================================
   5. Entrance / reveal animations
   ========================================================= */

html.a11y-reduced-motion .storefront-card-enter,
html.a11y-reduced-motion .raid-reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}


/* =========================================================
   6. Raid Train motion
   ========================================================= */

html.a11y-reduced-motion .raid-event-dashboard,
html.a11y-reduced-motion .raid-schedule-card,
html.a11y-reduced-motion .raid-slot-current,
html.a11y-reduced-motion .raid-slot-next .raid-status-badge,
html.a11y-reduced-motion .raid-dashboard-logo-live,
html.a11y-reduced-motion
.raid-schedule-table tbody tr.raid-slot-current,
html.a11y-reduced-motion
.raid-slot-current .raid-status-badge {
    animation: none !important;
}

html.a11y-reduced-motion .raid-schedule-table tbody tr,
html.a11y-reduced-motion .raid-status-badge,
html.a11y-reduced-motion .raid-user-link,
html.a11y-reduced-motion .raid-open-slot-link,
html.a11y-reduced-motion .raid-available-slot,
html.a11y-reduced-motion .raid-search-clear {
    transition: none !important;
}


/* =========================================================
   7. Pulses / decorative animations
   ========================================================= */

html.a11y-reduced-motion .product-featured-badge,
html.a11y-reduced-motion .stream-state-live .stream-eyebrow,
html.a11y-reduced-motion .signup-highlight {
    animation: none !important;
}


/* =========================================================
   8. Countdown ticking
   ========================================================= */

html.a11y-reduced-motion .countdown-tile span {
    transition: opacity 0.18s ease !important;
    transform: none !important;
}

html.a11y-reduced-motion .countdown-tile span.tick {
    transform: none !important;
}


/* =========================================================
   9. Disclosure content
   ========================================================= */

html.a11y-reduced-motion .privacy-policy-content {
    animation: none !important;
}


/* =========================================================
   10. Preserve functional spinner
   ========================================================= */

/*
 * Intentionally DO NOT disable .raid-spinner.
 *
 * The spinner communicates that a form is actively
 * submitting, so it is functional feedback rather than
 * decorative motion.
 */

/* =========================================================
   Additional Hover / Button Movement
   ========================================================= */

html.a11y-reduced-motion .beanbin-pagination a:hover,
html.a11y-reduced-motion a.community-badge:hover,
html.a11y-reduced-motion .directory-all-badges:hover,
html.a11y-reduced-motion .directory-all-badges.active,
html.a11y-reduced-motion .directory-clear-badge-filter:hover,
html.a11y-reduced-motion .badge-recipient-card:hover,
html.a11y-reduced-motion .explore-card:hover,
html.a11y-reduced-motion .update-card:hover,
html.a11y-reduced-motion .product-card-actions > a:hover,
html.a11y-reduced-motion .raid-schedule-table tbody tr:hover,
html.a11y-reduced-motion .raid-open-slot-link:hover {
    transform: none !important;
}


/* Explore card icon also moves independently */

html.a11y-reduced-motion
.explore-card:hover .explore-card-icon {
    transform: none !important;
}

/* =========================================================
   Reduced Motion - Remaining Interactive Movement
   ========================================================= */


/* ---------- Horizontal arrow / label movement ---------- */

html.a11y-reduced-motion
.beanbin-submit-btn:hover span,

html.a11y-reduced-motion
.raid-hof-button:hover span,

html.a11y-reduced-motion
.raid-next-card:hover .raid-next-arrow,

html.a11y-reduced-motion
.storefront-product-btn:hover span,

html.a11y-reduced-motion
.explore-card:hover .explore-card-arrow {
    transform: none !important;
}


/* ---------- Remaining hover lifts ---------- */

html.a11y-reduced-motion
.beanbin-pagination a:hover,

html.a11y-reduced-motion
a.community-badge:hover,

html.a11y-reduced-motion
.directory-all-badges:hover,

html.a11y-reduced-motion
.directory-clear-badge-filter:hover,

html.a11y-reduced-motion
.badge-recipient-card:hover,

html.a11y-reduced-motion
.explore-card:hover,

html.a11y-reduced-motion
.update-card:hover,

html.a11y-reduced-motion
.product-card-actions > a:hover,

html.a11y-reduced-motion
.raid-open-slot-link:hover {
    transform: none !important;
}


/* ---------- Remaining hover scaling ---------- */

html.a11y-reduced-motion
.storefront-product-card:hover .storefront-product-image,

html.a11y-reduced-motion
.beanbin-product-card:hover .product-image,

html.a11y-reduced-motion
.beanbin-product-card:hover .product-image-wrapper img,

html.a11y-reduced-motion
.hero__stat:hover .hero__stat-icon,

html.a11y-reduced-motion
.raid-dashboard-stat:hover strong,

html.a11y-reduced-motion
.raid-schedule-table tbody tr:hover .raid-status-badge,

html.a11y-reduced-motion
.app-qr-image img:hover {
    transform: none !important;
}


/* ---------- Product image hover label ---------- */

/*
 * This one needs special handling because translateX(-50%)
 * is also responsible for centering the label.
 *
 * Keep the horizontal centering, but remove its vertical
 * slide animation.
 */

html.a11y-reduced-motion
.product-image-hover-text {
    transform: translate(-50%, 0) !important;
    transition: opacity 0.2s ease !important;
}


/* ---------- Explore icon ---------- */

html.a11y-reduced-motion
.explore-card:hover .explore-card-icon {
    transform: none !important;
}

/* =========================================================
   Reduced Motion - Interactive Motion Override
   ========================================================= */

/*
 * Neutralize the site's shared hover-lift tokens.
 */
html.a11y-reduced-motion {
    --hover-lift-small: none;
    --hover-lift-medium: none;
    --hover-lift-large: none;
}


/*
 * Interactive elements should not physically move
 * when Reduced Motion is enabled.
 *
 * IMPORTANT:
 * This targets interactive hover states rather than
 * every transform on the page, because many normal
 * transforms are used for positioning.
 */
html.a11y-reduced-motion a:hover,
html.a11y-reduced-motion button:hover,
html.a11y-reduced-motion input[type="submit"]:hover,
html.a11y-reduced-motion summary:hover,

html.a11y-reduced-motion .ui-card-hover:hover,
html.a11y-reduced-motion .fact-card:hover,
html.a11y-reduced-motion .cta-card:hover,
html.a11y-reduced-motion .personal-link-card:hover,
html.a11y-reduced-motion .seller-card:hover,
html.a11y-reduced-motion .inventory-product-card:hover,
html.a11y-reduced-motion .beanbin-product-card:hover,
html.a11y-reduced-motion .directory-category-header:hover,
html.a11y-reduced-motion .badge-recipient-card:hover,
html.a11y-reduced-motion .explore-card:hover,
html.a11y-reduced-motion .update-card:hover,
html.a11y-reduced-motion .privacy-policy-card:hover,
html.a11y-reduced-motion .hero__stat:hover,
html.a11y-reduced-motion .storefront-product-card:hover,
html.a11y-reduced-motion .raid-next-card:hover,
html.a11y-reduced-motion .raid-dashboard-stat:hover {
    transform: none !important;
}


/*
 * Child elements that independently move when
 * their parent is hovered.
 */
html.a11y-reduced-motion
.beanbin-submit-btn:hover span,

html.a11y-reduced-motion
.raid-hof-button:hover span,

html.a11y-reduced-motion
.raid-next-card:hover .raid-next-arrow,

html.a11y-reduced-motion
.storefront-product-btn:hover span,

html.a11y-reduced-motion
.explore-card:hover .explore-card-arrow,

html.a11y-reduced-motion
.explore-card:hover .explore-card-icon,

html.a11y-reduced-motion
.hero__stat:hover .hero__stat-icon,

html.a11y-reduced-motion
.beanbin-product-card:hover .product-image,

html.a11y-reduced-motion
.beanbin-product-card:hover .product-image-wrapper img,

html.a11y-reduced-motion
.storefront-product-card:hover .storefront-product-image,

html.a11y-reduced-motion
.raid-dashboard-stat:hover strong,

html.a11y-reduced-motion
.raid-schedule-table tbody tr:hover .raid-status-badge,

html.a11y-reduced-motion
.app-qr-image img:hover {
    transform: none !important;
}

/* =========================================================
   Reduced Motion - Final Edge Cases
   ========================================================= */


/* Hero arrows:
 * Preserve vertical centering, remove horizontal movement.
 */
html.a11y-reduced-motion
.hero__actions .buy-btn::after,
html.a11y-reduced-motion
.hero__actions .buy-btn:hover::after {
    transform: translateY(-50%) !important;
    transition: none !important;
}


/* Next Live Stream buttons */
html.a11y-reduced-motion
.stream-primary-btn:hover,
html.a11y-reduced-motion
.stream-secondary-btn:hover {
    transform: none !important;
}


/* Back to Top */
html.a11y-reduced-motion
#backToTopBtn:hover {
    transform: none !important;
}

/* =========================================================
   Reduced Motion - Live HQ
   ========================================================= */

html.a11y-reduced-motion .livehq-status-on {
    animation: none !important;
}

html.a11y-reduced-motion
:is(
    .livehq-status-badge,
    .livehq-current-seller,
    .livehq-mission,
    #livehq-donation-link,
    #livehq-mission-link,
    #livehq-seller-link,
    #livehq-progress-bar::-webkit-progress-value
) {
    transition: none !important;
}

html.a11y-reduced-motion
:is(
    #livehq-donation-link,
    #livehq-mission-link,
    #livehq-seller-link
):hover {
    transform: none !important;
}

html.a11y-reduced-motion .livehq-start-broadcast:hover {
    transform: translate(-50%, -50%) !important;
}