





















/* =====================================================
   SAF HEADER PROTECTION LAYER
===================================================== */

.saf-header,
.saf-header *{
    box-sizing:border-box!important;
}

.saf-header{
    isolation:isolate;
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    z-index:99999!important;
    line-height:1!important;
}

.saf-header img{
    max-width:none!important;
}

.saf-header a{
    text-decoration:none!important;
}

.saf-header button{
    appearance:none!important;
    -webkit-appearance:none!important;
    border:0!important;
    outline:none!important;
    line-height:1!important;
}

.saf-header-menu{
    position:fixed!important;
    z-index:99998!important;
}

@media(max-width:768px){

body{
    padding-top:90px!important;
}

}

/* =====================================================
   SELLAFRRIK HEADER
   MOBILE ONLY
   MATCHES: NEW UNIFIED saf-header-* HTML STRUCTURE
===================================================== */

@media(max-width:768px){

.saf-header{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    position:fixed;
    top:0;
    left:0;
    right:0;
    width:100%;
    min-height:60px;
    height:auto;
    padding:10px 12px;
    background:#fff;
    box-shadow:0 2px 5px rgba(0,0,0,.1);
    z-index:1000;
    line-height:1;
    box-sizing:border-box;
}

.saf-header *{
    box-sizing:border-box;
}


/* =====================================================
   SAFARI RESET
===================================================== */

.saf-header a,
.saf-header a:visited,
.saf-header a:hover,
.saf-header a:active{
    color:#333;
    text-decoration:none!important;
    -webkit-text-decoration:none!important;
}

.saf-header span,
.saf-header button{
    -webkit-text-fill-color:#333;
}

.saf-header button{
    -webkit-appearance:none;
    appearance:none;
    background:transparent;
    outline:none;
    border:0;
    -webkit-tap-highlight-color:transparent;
}


/* =====================================================
   MOBILE LEFT SECTION
===================================================== */

.saf-header-left{
    display:flex;
    align-items:center;
    gap:0;
}

.saf-header-menu-toggle{
    width:45px;
    height:45px;
    margin-left:5px;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}

.saf-header-hamburger-icon{
    width:24px;
    height:24px;
    display:block;
}

.saf-header-logo{
    display:flex;
    align-items:center;
    height:45px;
}

.saf-header-logo img{
    height:42px;
    width:auto;
    display:block;
}


/* =====================================================
   MOBILE RIGHT SECTION
===================================================== */

.saf-header-links{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:15px;
    margin-left:auto;
}

.saf-header-links .saf-header-dropdown{
    display:flex;
    position:relative;
}


/* REMOVE HELP ICON FROM TOP HEADER ONLY */

.saf-header-links .saf-header-dropdown:nth-child(2){
    display:none;
}


.saf-header-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
}

.saf-header-toggle img{
    width:30px;
    height:30px;
    display:block;
}

.saf-header-toggle span{
    display:none;
}


.saf-header-cart{
    display:flex;
    align-items:center;
    justify-content:center;
    margin-right:5px;
}


.saf-header-cart-icon{
    display:flex;
    align-items:center;
}


.saf-header-cart img{
    width:30px;
    height:30px;
    display:block;
}


/* =====================================================
   MOBILE DROPDOWNS
===================================================== */

.saf-header-dropdown-menu{
    display:none;
    position:absolute;
    top:100%;
    right:0;
    left:auto;
    background:#fff;
    min-width:180px;
    box-shadow:0 2px 8px rgba(0,0,0,.2);
    flex-direction:column;
    z-index:1000;
}


.saf-header-dropdown:hover .saf-header-dropdown-menu{
    display:flex;
}


.saf-header-dropdown-menu a{
    display:flex;
    align-items:center;
    gap:8px;
    padding:8px 12px;
    color:#333!important;
    text-decoration:none!important;
    font-size:15px;
    font-weight:500;
}


.saf-header-dropdown-menu a img{
    width:18px;
    height:18px;
}


/* =====================================================
   MOBILE SEARCH
===================================================== */

.saf-header-search{
    display:flex;
    order:3;
    width:100%;
    flex:0 0 100%;
    margin:8px 0 0;
}


.saf-header-search input{
    width:100%;
    height:42px;
    padding:0 15px;
    border-radius:25px;
    border:2px solid #004d00;
    outline:none;
    font-size:16px;
}


/* =====================================================
   MOBILE MENU
===================================================== */

.saf-header-menu{
    display:none;
    flex-direction:column;
    width:100%;
    background:#fff;
    padding:10px 15px 90px;
    box-shadow:0 2px 10px rgba(0,0,0,.2);
    position:fixed;
    top:110px;
    left:0;
    right:0;
    z-index:999;
    max-height:calc(100vh - 110px);
    overflow-y:auto;
}


.saf-header-menu.active{
    display:flex;
}
  
  
  
  /* =====================================================
   SECTION HEADERS
   Categories / Account / Help
===================================================== */

.saf-header-menu .saf-header-toggle,
.saf-header-menu-toggle,
.saf-header-mobile-toggle{
    width:100%;
    padding:12px 0;
    margin:0;
    background:transparent!important;
    border:0;
    text-align:left;
    justify-content:flex-start;
    font-size:13px;
    font-weight:700;
    letter-spacing:.5px;
    text-transform:uppercase;
    color:#777!important;
    -webkit-text-fill-color:#777!important;
    box-shadow:none!important;
}


.saf-header-menu .saf-header-toggle:focus,
.saf-header-menu .saf-header-toggle:active,
.saf-header-menu-toggle:focus,
.saf-header-menu-toggle:active,
.saf-header-mobile-toggle:focus,
.saf-header-mobile-toggle:active{
    background:transparent!important;
    box-shadow:none!important;
}


/* =====================================================
   ALWAYS SHOW ACCOUNT / HELP MENUS
===================================================== */

.saf-header-menu .saf-header-dropdown{
    display:flex;
    flex-direction:column;
}


.saf-header-menu .saf-header-dropdown-menu{
    display:flex;
    position:static;
    width:100%;
    min-width:100%;
    box-shadow:none;
    background:#fff;
    flex-direction:column;
}


.saf-header-menu .saf-header-toggle img{
    display:none;
}


.saf-header-menu .saf-header-toggle span{
    display:block;
    color:#777!important;
    -webkit-text-fill-color:#777!important;
}


/* =====================================================
   CATEGORY ITEMS
===================================================== */

.saf-header-menu-section{
    display:flex;
    flex-direction:column;
}


.saf-header-category-menu{
    display:flex;
    flex-direction:column;
}


.saf-header-category-menu a,
.saf-header-dropdown-menu a{
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 0;
    color:#222!important;
    -webkit-text-fill-color:#222!important;
    text-decoration:none!important;
    font-size:16px;
    font-weight:600;
}


.saf-header-category-menu a span,
.saf-header-dropdown-menu a span{
    color:#222!important;
    -webkit-text-fill-color:#222!important;
}


.saf-header-category-menu a img,
.saf-header-dropdown-menu a img{
    width:22px;
    height:22px;
}


.saf-header-category-menu a:hover,
.saf-header-dropdown-menu a:hover{
    background:transparent;
    text-decoration:none!important;
}


/* =====================================================
   HIDE DESKTOP ELEMENTS
===================================================== */

.saf-header-desktop-left,
.saf-header-logo-desktop,
.saf-header-desktop-search,
.saf-header-desktop-links{
    display:none;
}

}




/* =====================================================
   MOBILE SEARCH ICON BUTTON
===================================================== */

.saf-header-search{
    display:flex;
    align-items:center;
}


.saf-header-search button{
    width:45px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border:0;
    background:transparent;
    padding:0;
    cursor:pointer;
    flex-shrink:0;
}


.saf-header-search button img{
    width:75px;
    height:75px;
    max-width:none;
    display:block;
}
/* =====================================================
   SMALL MOBILE MODE
===================================================== */

@media(max-width:480px){

.saf-header{
    padding:8px 10px;
}


.saf-header-logo img{
    height:38px;
}


.saf-header-links{
    gap:10px;
}


.saf-header-toggle img,
.saf-header-cart img{
    width:26px;
    height:26px;
}


.saf-header-menu{
    top:104px;
}

}


/* =====================================================
   MOBILE MENU FINAL BOTTOM SPACING
===================================================== */

@media(max-width:768px){

.saf-header-menu{
    padding-bottom:90px!important;
}

.saf-header-menu-inner{
    padding-bottom:90px!important;
}

.saf-header-menu-inner:last-child{
    margin-bottom:90px!important;
}

}


/* =====================================================
   MOBILE TOP CART ICON ONLY
===================================================== */

@media(max-width:768px){

.saf-header-cart>span:not(.saf-header-cart-icon){
    display:none;
}

.saf-header-cart{
    display:flex;
    align-items:center;
    justify-content:center;
}

}


/* =====================================================
   MOBILE HEADER HORIZONTAL MARGINS
===================================================== */

@media(max-width:768px){

.saf-header{
    padding-left:20px;
    padding-right:20px;
}


.saf-header-search{
    width:100%;
}


.saf-header-left{
    gap:20px;
}


}




/* =====================================================
   MOBILE TOP ACCOUNT DROPDOWN ICON ALIGNMENT FIX
   DO NOT MERGE WITH MOBILE MENU STYLES
   PURPOSE:
   Prevent account dropdown icons from touching/cutting
   against the left edge on mobile top navigation.
===================================================== */

@media(max-width:768px){

    /* Only affects the top header account dropdown */
    .saf-header-links .saf-header-dropdown-menu{
        padding:8px 0;
        overflow:hidden;
    }


    /* Restore internal spacing for dropdown items */
    .saf-header-links .saf-header-dropdown-menu a{
        display:flex;
        align-items:center;
        gap:10px;
        padding:10px 20px!important;
    }


    /* Lock icon size and prevent flex compression */
    .saf-header-links .saf-header-dropdown-menu a img{
        width:22px;
        height:22px;
        flex:0 0 auto;
        margin-left:0;
    }

}

/* =====================================================
   PAGE OFFSET FOR FIXED HEADER
===================================================== */

body{
    padding-top:90px;
}