/* ============================================================
   SEEP Plugin — sticky-bar.css
   1. Mobile Sticky Header (Astra theme)
   2. Always-visible Sticky Bottom Bar (mobile only)
============================================================ */


/* ============================================================
   PART 1 — STICKY MOBILE HEADER (Astra Theme)
============================================================ */
/* ── Under 480px ── */
@media (max-width: 480px) {
    .ast-above-header-wrap   .ast-header-html.inner-link-style- h6 {
        display: none;
    }
   .ast-above-header-wrap  .ast-site-title-wrap {
        display: block;
    }
    .ast-above-header-wrap .ast-site-title-wrap a {
        margin-bottom: -18px;
        color: #fff;
    }
    .ast-above-header-wrap .ast-site-title-wrap .site-description {
    margin-top: -10px;
    color: #fff;
}
}

/* ── Above 480px ── */
@media (min-width: 481px) {
   .ast-above-header-wrap   .ast-header-html.inner-link-style- h6 {
        display: block;
    }
  .ast-above-header-wrap    .ast-site-title-wrap {
        display: none;
    }
}
@media (max-width: 920px) {

    /* Astra mobile site header wrapper */
    #masthead,
    #masthead.site-header {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 9998 !important;
        width: 100% !important;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        transition: box-shadow 0.25s ease;
    }

    /* Astra mobile header specific ID */
    #ast-mobile-header {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
        width: 100% !important;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        transition: box-shadow 0.25s ease;
    }

    /* Scrolled shadow (JS adds class) */
    #masthead.seep-header-scrolled,
    #ast-mobile-header.seep-header-scrolled {
        box-shadow: 0 3px 16px rgba(0, 0, 0, 0.2) !important;
    }

    /* Allow vertical scroll on wrapper elements */
    body,
    html,
    #page,
    .hfeed,
    .site {
        overflow-x: clip !important;
    }
}


/* ============================================================
   PART 2 — ALWAYS-VISIBLE STICKY BOTTOM BAR
   position: fixed — scroll se kabhi nahi hatega
============================================================ */

.seep-sticky-bottom-bar {
    display: none !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 999999 !important;
    background: #8B0000 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.28) !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    animation: seepBarSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes seepBarSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

/* Show on mobile for ALL users */
@media (max-width: 920px) {
    .seep-sticky-bottom-bar {
        display: flex !important;
        align-items: stretch !important;
        justify-content: space-around !important;
    }

    body {
        padding-bottom: 64px !important;
    }
}

/* ---- Individual Button ---- */
.seep-sticky-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    text-decoration: none !important;
    color: #ffffff !important;
    padding: 9px 4px 8px !important;
    gap: 4px !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
    border: none !important;
    background: transparent !important;
    transition: background 0.18s ease !important;
}

.seep-sticky-btn:hover,
.seep-sticky-btn:focus,
.seep-sticky-btn:visited {
    color: #ffffff !important;
    text-decoration: none !important;
}

.seep-sticky-btn:active {
    background: rgba(0, 0, 0, 0.15) !important;
}

.seep-sticky-btn + .seep-sticky-btn {
    border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Ripple */
.seep-sticky-btn .seep-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    width: 0;
    height: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: seepRipple 0.5s ease-out forwards;
    z-index: 0;
}
@keyframes seepRipple {
    to { width: 140px; height: 140px; opacity: 0; }
}

/* ---- Dashicons ---- */
.seep-sticky-bottom-bar .seep-sticky-btn .dashicons {
    font-size: 22px !important;
    width: 22px !important;
    height: 22px !important;
    line-height: 1 !important;
    color: #ffffff !important;
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    transition: transform 0.2s ease !important;
}
.seep-sticky-btn:hover .dashicons,
.seep-sticky-btn:focus .dashicons {
    transform: translateY(-2px) scale(1.08) !important;
}

/* ---- Label ---- */
.seep-sticky-bottom-bar .seep-btn-label {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    position: relative !important;
    z-index: 1 !important;
    white-space: nowrap !important;
    display: block !important;
}

/* ---- iPhone safe area ---- */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .seep-sticky-bottom-bar {
        padding-bottom: env(safe-area-inset-bottom) !important;
    }
    @media (max-width: 920px) {
        body {
            padding-bottom: calc(64px + env(safe-area-inset-bottom)) !important;
        }
    }
}