html:not(.isReady) {
    display: none;
}

body {
    overflow-x: clip !important;
}

/* Header Base Styles */
.sticky-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: linear-gradient(rgba(242, 237, 231, 0.35) 0%, rgba(242, 237, 231, 0.1) 100%);
    background-color: rgba(242, 237, 231, 0.8) !important;
    width: 100%;
    opacity: 1;
    min-height: 110px;
    color: rgb(27, 50, 27) !important;
    font-size: 16px;
    font-family: 'TT Hoves Pro', Arial, sans-serif;
}

.sticky-header a,
.sticky-header .navbar-nav > li > a,
.sticky-header .navbar-nav > li > a:visited {
    color: rgb(27, 50, 27) !important;
    font-family: 'TT Hoves Pro', Arial, sans-serif !important;
    font-size: 16px !important;
    background: none !important;
}

.sticky-header .navbar-nav > li > a:hover,
.sticky-header .navbar-nav > li > a:focus {
    color: rgb(156, 209, 133) !important;
    background: none !important;
}

.sticky-header .outer-frame {
    padding: 30px 60px;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.sticky-header .navbar-header {
    display: none;
}

.sticky-header #head_nav_bar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 50px;
}

.sticky-header .navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 0;
}

.sticky-header .navbar-toggle {
    display: none;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    margin-left: auto !important;
    cursor: pointer;
}

.sticky-header .navbar-toggle span.icon-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: rgb(27, 50, 27);
    margin: 5px 0;
    transition: all 0.35s ease-in-out;
}

.sticky-header .navbar-toggle.active span.icon-bar {
    background-color: #fff;
}

/* first */
.navbar-toggle.active .icon-bar:first-of-type {
  transform: translateY(8px) rotate(45deg);
}

/* middle */
.navbar-toggle.active .icon-bar:first-of-type + .icon-bar {
  opacity: 0;
}

/* third */
.navbar-toggle.active .icon-bar:first-of-type + .icon-bar + .icon-bar {
  transform: translateY(-8px) rotate(-45deg);
}

.sticky-header .navbar-nav {
    display: flex;
    align-items: center;
    margin: 0;
    margin-left: auto;
    gap: 10px;
    flex-wrap: wrap;
    height: 100%;
}

.sticky-header .navbar-nav.desktop-nav {
    display: flex;
}

.sticky-header .navbar-nav.mobile-nav {
    display: none;
}

.sticky-header .navbar-nav > li > a {
    transition: color 0.2s ease;
}

/* Notification badge styles */
.so-notification {
    position: absolute;
    right: -8px;
    top: -8px;
    display: inline-flex;
    align-items: center;
}
.so-notification-mobile {
    display: inline-flex;
    align-items: center;
}

.so-notification-mobile .badge {
    background-color: rgb(187 , 82 , 42) !important;
    font-weight: normal;
    font-size: 11px;
    padding: 2px 6px;
    margin-left: 10px;
}

.so-sidemenu-notification {
    right: 0px !important;
    top: 2px !important;
    position: inherit;
}

.so-dropmenu-notification {
    position: relative;
    float: right;
    top: 0px !important;
}

.so-notification .badge {
    background-color: rgb(187 , 82 , 42) !important;
    font-weight: normal;
    font-size: 11px;
    padding: 2px 6px;
}

.navbar-brand {
    float: left;
    height: 50px;
    padding: 0px;
    font-size: 18px;
    line-height: 20px;
}

.fas.fa-shopping-cart {
    padding-right: 5px;
}

/* Desktop Navigation (1200px and above) */
@media (min-width: 1200px) {
    .sticky-header .outer-frame {
        flex-wrap: nowrap;
    }

    .sticky-header #head_nav_bar {
        width: 100%;
        flex-wrap: nowrap;
    }

    .sticky-header .navbar-toggle {
        display: none !important;
    }

    /* Show desktop nav, hide mobile nav */
    .sticky-header .navbar-nav.desktop-nav {
        /* display: flex !important; */
        max-height: none !important;
        position: static !important;
        background: none !important;
        color: inherit !important;
        flex-direction: row !important;
        width: auto !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        z-index: auto !important;
        gap: 10px !important;
    }

    .sticky-header .navbar-nav.mobile-nav {
        display: none !important;
    }

    .sticky-header .navbar-nav.desktop-nav > li {
        border-bottom: none !important;
        width: auto !important;
    }

    .sticky-header .navbar-nav.desktop-nav > li > a {
        padding: 10px 20px !important;
        color: rgb(27, 50, 27);
        font-size: 16px !important;
        display: inline-flex !important;
        align-items: center !important;
    }
}

/* Mobile Navigation (below 1200px) */
@media (max-width: 1199px) {
    .sticky-header {
        min-height: auto;
        transition: background 0.3s ease-in-out;
    }

    .sticky-header.menu-open {
        background: rgb(27, 50, 27) !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .sticky-header.menu-open a {
        color: #fff !important;
    }

    .sticky-header.menu-open .navbar-brand img {
        filter: brightness(0) invert(1);
    }

    .sticky-header .outer-frame {
        padding: 20px 30px;
        transition: background 0.3s ease-in-out;
    }

    .sticky-header.menu-open .outer-frame {
        background: rgb(27, 50, 27);
    }

    .sticky-header #head_nav_bar {
        flex-wrap: nowrap;
    }

    .sticky-header .navbar-toggle {
        display: block !important;
        margin-left: auto !important;
    }

    /* Hide desktop nav, show mobile nav */
    .sticky-header .navbar-nav.desktop-nav {
        display: none !important;
    }

    .sticky-header .navbar-nav.mobile-nav {
        flex-direction: column;
        align-items: stretch;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgb(27, 50, 27);
        color: #fff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        z-index: 1000;
        padding: 0;
        margin: 0 !important;
        gap: 0;
        width: 100%;
        height: auto;
        display: flex !important;
    }

    .sticky-header .navbar-nav.mobile-nav.active {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .sticky-header .navbar-nav.mobile-nav > li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
    }

    .sticky-header .navbar-nav.mobile-nav > li:last-child {
        border-bottom: none;
    }

    .sticky-header .navbar-nav.mobile-nav > li > a {
        display: flex;
        align-items: center;
        padding: 15px 30px !important;
        color: #fff !important;
        font-size: 14px !important;
        transition: color 0.2s ease;
    }

    .sticky-header .navbar-nav.mobile-nav > li > a:hover,
    .sticky-header .navbar-nav.mobile-nav > li > a:focus {
        background: none !important;
        color: rgb(156, 209, 133) !important;
    }

    .sticky-header #add-on-doc-search {
        display: none;
    }
}

@media (max-width: 767px) {
    .sticky-header .outer-frame {
        padding: 15px 20px;
    }

    .account-dropdown .so-notification {
        left: 120px !important;
        top: 5px !important;
    }

    .so-notification {
        left: 70px;
        top: 14px;
    }

    .so-dropmenu-notification {
        left: 0 !important;
        top: 2px !important;
    }

    .img-resp {
        margin: 0px 0px 8px 13px;
        float: left;
    }

    .sticky-header .navbar-brand img {
        width: 100px;
        height: auto;
    }
}
