/*
 * Admin-bar offset + parent-theme artifact hiding.
 *
 * Relocated from the inline iforest_admin_bar_style() wp_head injection
 * (Req 5.7 — no inline injection). This stylesheet loads on all front-end
 * pages; every rule is scoped so it is harmless when it does not apply.
 *
 * Admin-bar offset: the original gated the #topbar offset server-side on
 * is_admin_bar_showing(). WordPress adds the `admin-bar` class to <body>
 * exactly when the admin bar is rendered, so scoping the offset under
 * `body.admin-bar` is functionally equivalent — the offset applies only
 * when the admin bar is actually shown, with no PHP conditional or inline
 * injection required.
 */

/* Admin-bar offset (self-gating via the WP-added `admin-bar` body class) */
body.admin-bar #topbar { margin-top: 32px; }
@media screen and (max-width: 782px) {
    body.admin-bar #topbar { margin-top: 46px; }
}

/* Hide parent theme's back-to-top SVG circle and parent header */
.pixelcurve-progress-parent,
.pixelcurve-backto-top-active,
#pixelcurve-progress { display: none !important; }
