/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Author: Stiman  
Description: Child theme for astra
Template: astra
Version: 1.0.0
*/



/* =========================
   DESKTOP STICKY HEADER
   ========================= */

.hf-header-sticky-pc {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
    pointer-events: none;
}

.hf-header-sticky-pc.is-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Στο desktop το normal header είναι κανονικό */
@media (min-width: 1025px) {
    .hf-header-main {
        position: relative;
        z-index: 10;
    }
}

/* =========================
   MOBILE / TABLET STICKY HEADER
   ========================= */

@media (max-width: 1024px) {
    .hf-header-mobile-tablet {
        position: sticky;
        top: 0;
        z-index: 9999;
        width: 100%;
    }

    /* στο mobile/tablet δεν χρειάζεται το desktop sticky */
    .hf-header-sticky-pc {
        display: none !important;
    }
}

/* Προαιρετικό αλλά χρήσιμο για να μην υπάρχει οριζόντιο τρέμουλο */
body {
    overflow-x: hidden;
}