.header {
    position: absolute;
    z-index: 999;
    margin: 0;
}

.custom-navbar {
    background: #000;
    margin-bottom: 0;
    z-index: 999;
}

.custom-navbar .brand {
    display: block;
    float: left;
    padding: 10px 20px 10px;
    margin-left: -20px;
    font-size: 20px;
    font-weight: 200;
    color: #777777;
    text-shadow: 0 1px 0 #ffffff;
}

.searchform2 {
    margin: 5px auto 0px 150px;
    width: 940px;
}
.searchform2 input[type="text"] {
    padding: 6px;
    margin-top: 8px;
    font-size: 12px;
    border: none;
    width: 300px;
    height: 20px;
    border-radius: 3px;
}

.searchform2 .search-container2 button {
    padding: 0px;
    margin-top: 3px;
    margin-right: 16px;
    background: #000;
    font-size: 18px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    color: #fff;
    width: 40px;
    height: 28px !important;
    border-radius: 3px;
    position: relative;
    top: 3px;
}

.searchform2 .search-container2 button:hover {
    color: #181a1c;
    background: #a1c2e2;
}

.search-table {
    display: table;
}

.search-field {
    float: left;
}

form[class*="headersearch"] input[type="text"] {
    background: #eee;
}

.search-link,
.search-link a {
    float: left;
    width: 90px;
    font-size: 11px;
    color: #fff;
    font-weight: normal;
    visibility: visible;
    /* hidden;*/
    /*	border: 1px solid #ccc;*/
    margin-top: 5px !important;
}

.search-link a:hover {
    color: #ccc;
}

.navbar-inner {
    background: #000;
    border-radius: 0;
    filter: none;
    border: none;
    box-shadow: none;
    height: 100px;
}

.custom-navbar .brand img {
    width: 240px;
    height: 80px;
}

.custom-navbar .nav > li > a {
    text-transform: uppercase;
    line-height: auto;
    vertical-align: middle;
    margin: 10px 3px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    border: 1px solid #181a1c;
    box-shadow: none;
    font-size: 15px;
    text-shadow: none;
    color: #fff;
    transition: border-color 1s ease;
}

.custom-navbar .nav > li:hover > a,
.custom-navbar .nav > .active > a,
.custom-navbar .nav > .active > a:hover,
.custom-navbar .nav > .active > a:focus {
    border: 1px solid #254d75;
    color: #fff;
    background-color: #181a1c;
    transition: border-color 1s ease;
}

.custom-navbar .btn-navbar:hover,
.custom-navbar .btn-navbar {
    border-radius: 0;
    background: #981a17;
    color: #000;
}

.custom-navbar .brand img {
    width: 180px;
    height: 60px;
}

.custom-navbar {
    position: relative;
    top: -5px;
    z-index: 999;
}

@media (max-width: 1200px) {
    #menu,
    .searchform2 {
        width: 85%;
        padding: 0px;
    }
}

@media (max-width: 979px) {
    #menu,
    .searchform2 {
        width: 80%;
        padding: 0px;
    }

    .searchform2 input[type="text"] {
        width: 300px;
    }

    #menu li {
        margin-right: 10px;
    }

    #menu li .drop {
        padding-right: 10px;
    }
}

/*  */
@media (max-width: 768px) {
    .custom-navbar .brand {
        padding: 20px 0px 0px 0px;
        /*    border: 3px solid #73AD21;*/
    }

    .menu_text {
        display: none;
        visibility: hidden;
        white-space: nowrap;
    }

    .menu_fas {
        display: block;
        /*none; */
        visibility: visible;
        /* hidden;*/
    }

    #menu,
    .searchform2 {
        width: 68%;
        /*	  border: 1px solid #f00;*/
    }

    .searchform2 input[type="text"] {
        width: 65%;
    }

    #menu li {
        margin-right: 10px;
    }

    #menu li .drop {
        padding-right: 10px;
    }

    /*	#menu li:hover .align_center {
left: -1px !important;
right: auto !important;
transform: translate(0, 0) !important;
}*/
    /*	#menu .menu_right {
float:left;
margin-right:5px;
margin-left:0px;
}*/
}

@media (max-width: 460px) {
    #menu,
    .searchform2 {
        width: 55%;
        /*	  border: 1px solid #0ff;*/
    }

    #search-field {
        width: 45%;
    }

    .searchform2 input[type="text"] {
        width: 40%;
    }

    .search-link {
        visibility: hidden;
    }

    #menu li {
        margin-right: 5px;
    }

    #menu li .drop {
        padding-right: 5px;
    }
}

.searchform2 {
    margin: 15px auto 0px 150px;
}

/*  mobile header */
/* Hide Mobile Header Above 1024 */
.mobile-header,
#sideMenu {
    display: none;
}
.sub-header {
    padding: 12px 0;
    color: #000;
    cursor: pointer;
}

.sub-body {
    display: none;
    padding-left: 15px;
}

.sub-accordion.active .sub-body {
    display: block;
}

.divider {
    margin-top: 10px;
    font-weight: bold;
    opacity: 0.6;
}

@media (max-width: 1024px) {
    .custom-navbar {
        display: none;
    }
    #sideMenu {
        display: block;
    }
    .responsive-search input[type="text"] {
        height: 100% !important;
        width: calc(100% - 47px);
    }
    .mobile-header {
        display: block;
        background: #000000;
        padding: 10px 15px;
        position: sticky;
        top: 0;
        z-index: 9999;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    .mobile-header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-logo img {
        height: 55px;
    }

    /* Hamburger */
    .hamburger {
        background: none;
        border: none;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: #ffffff;
        display: block;
    }

    /* Cart */
    .mobile-cart {
        font-size: 22px;
        color: #ffffff;
    }

    /* Overlay */
    .menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 9999;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Side Menu */
    .side-menu {
        position: fixed;
        top: 0;
        left: -320px;
        width: 310px;
        height: 100%;
        background: #fff;
        transition: 0.3s;
        z-index: 9999;
        overflow-y: auto;
        padding: 20px;
    }

    .side-menu.active {
        left: 0;
    }

    /* Search */
    .side-search {
        margin-bottom: 20px;
        display: flex;
        align-items: stretch;
    }

    .side-search form {
        display: flex;
        border: 1px solid #ddd;
        width: 100%;
        align-items: stretch;
    }

    .side-search input {
        border: none !important;
        padding: 10px;
    }

    .side-search button {
        border: none;
        padding: 10px 15px;
        background: #000;
        color: #fff;
    }

    /* Links */
    .side-links {
        list-style: none;
        padding: 0;
    }

    .side-links li {
        border-bottom: 1px solid #eee;
    }

    .side-links a {
        display: block;
        padding: 14px 0;
        font-size: 16px;
        color: #000;
        text-decoration: none;
    }

    /* Accordion */
    .acc-header-main {
        padding: 14px 0;
        cursor: pointer;
        color: #000;
        align-items: center;
        display: flex;
        justify-content: space-between;
    }

    .acc-header-body {
        display: none;
        padding-left: 15px;
    }
    .custom .acc-header-body {
        padding-block: 0;
    }

    .accordion.active .acc-header-body {
        display: block;
    }
}
@media (max-width: 768px) {
    .mobile-logo img {
        height: 45px;
    }
}
