/**
 * Header Gap Fix - Remove Top Space
 * Header starts at absolute top and stays sticky
 */

/* ========================================
   RESET ALL TOP SPACING
   ======================================== */

html, 
body {
    margin: 0 !important;
    padding: 0 !important;
}

/* ========================================
   WORDPRESS ADMIN BAR
   ======================================== */

#wpadminbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
}

/* Remove default admin bar push */
html.wp-toolbar,
body.admin-bar {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Adjust sticky header when admin bar is present */
body.admin-bar .kt-header-v2 {
    top: 32px !important;
}

body.admin-bar .kt-header-mobile {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar .kt-header-v2,
    body.admin-bar .kt-header-mobile {
        top: 46px !important;
    }
}

/* ========================================
   SITE WRAPPER - NO GAP
   ======================================== */

.site,
#page {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ========================================
   STICKY HEADER BASE
   ======================================== */

.kt-header-v2,
.kt-header-mobile {
    margin-top: 0 !important;
}

/* ========================================
   CATEGORY SLIDER - NO GAP
   ======================================== */

.kt-category-slider {
    margin-top: 0 !important;
    max-width: 100vw !important;
    overflow: hidden !important;
}

/* Prevent slider from breaking page layout */
.kt-category-slider__track {
    max-width: none !important;
}

/* ========================================
   CONTENT
   ======================================== */

#content,
.site-content,
.kt-page {
    margin-top: 0 !important;
}

/* ========================================
   BACKGROUND
   ======================================== */

body {
    background-color: #f5f7fb;
}
