﻿.navbar #header-container {
    display: none;
}

#top-header-dropdowns ul:nth-child(1) {
    display: flex;
    align-items: center;
    padding: 0;
}

#top-header-dropdowns ul:nth-child(1) button {
    background-color: #fff;
    border: 1px solid #1B5427;
    color: #1B5427;
}

#top-header-dropdowns.container-fluid {
    padding-right: 0;
}

.banner {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #1B5427;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.banner-background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.banner img {
    max-height: 95px;
    width: auto;
    display: block;
    margin: auto;
}

.logo-and-menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.Menu li > a:hover, .Menu li > ul.gallery > li.-hasSubmenu > a:hover, .Menu li.-hasSubmenu .next-level > li > a:hover, .Menu li.-hasSubmenu > ul.gallery > li > a:hover, .Menu li.-hasSubmenu ul:not(.gallery) > li a:hover {
    color: #000000;
}

.input-group.flex-row {
    display: flex;
    justify-content: flex-end;
}

#small-searchterms {
    font-size: 22px;
    border: none;
    border-bottom: 1px solid black;
    max-width: 500px;
    padding-bottom: 0;
}

#small-searchterms::placeholder {
    color: #1B5427;
    font-size: 20px;
    font-weight: 400;
    font-family: 'MyriadPro', sans-serif;
}

#voiceSearchButton {
    display:none;
}

#small-searchterms + .input-group-append .btn {
    border: none;
    border-bottom: 1px solid black;
}

#small-searchterms + .input-group-append .btn:hover {
    border-bottom: 1px solid black;
}

.navbar-nav.top-header-items .nav-item .nav-link {
    margin: 0 5px;
}

.navbar-nav.top-header-items .nav-item .nav-item {
    position: relative;
}

.navbar-nav.top-header-items .nav-item .nav-item ul {
    position: absolute;
    visibility: hidden;
    z-index: 3;
    top: 50px;
    right: -130px;
    padding-left: 0px !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar-nav.top-header-items .nav-item .nav-item ul li a {
    background-color: #fff;
    padding: 5px 50px 5px 10px;
    display: flex;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: lighter;
}

.navbar-nav.top-header-items .nav-item .nav-item ul a:hover {
    cursor: pointer;
}

.navbar-nav.top-header-items .nav-item .nav-item:hover ul {
    visibility: visible;
    z-index: 999;
}

.b-icon {
    outline: none;
}
.header-nav {
    padding: 0 20px 0 0;
    width: 100%;
    background-color: #fff;
    z-index: 1040;
}
.header-nav-container::before {
    content: "";
    position: relative;
    margin-bottom: 57px;
}
.header-nav .navbar {
    padding: 0;
}
.header-nav .b-icon.bi {
    font-size: 20px;
}
.dropdown-toggle::after {
    display: none;
}
.navbar-nav {
    display: flex;
    align-items: center;
}
.navbar-nav.top-header-items  .nav-link {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    cursor: pointer;
}
.navbar-nav.top-header-items  .nav-link:hover {
    color: #1B5427;
}
.navbar-nav.top-header-items .nav-link {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    cursor: pointer;
    height: 56px;
    padding: 0 15px 0 0;
    font-size: 28px;
    border-right: 0;
}
.qty-indicator {
    position: absolute;
    top: 0px;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    width: 24px;
    height: 24px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    background: #1B5427;
    border-radius: 100%;
}
.shopping-item .subtotal {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}
.shopping-item .subtotal::before {
    content: "";
    display: flex;
    width: 1px;
    height: 20px;
    margin: 0 6px;
    background: #333;
}
.navbar-nav.top-header-items .search-item .nav-link {
    position: static;
}
.b-sidebar > .b-sidebar-header {
    font-size: 16px;
    text-align: right;
    background: #1c1b1b;
    color: #fff;
}
.b-sidebar-header strong {
    font-weight: 300;
}
.b-sidebar-header strong a {
    color: #fff;
    font-weight: 500;
}
.b-sidebar.slide {
    -webkit-transition: transform 1s cubic-bezier(.19,1,.22,1);
    transition: transform 1s cubic-bezier(.19,1,.22,1);
}
.b-sidebar-body {
    padding: 15px;
}
.b-sidebar-body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 4px rgba(0,0,0,0.3);
    border-radius: 4px;
    background-color: #232323;
}
.b-sidebar-body::-webkit-scrollbar {
    position: absolute;
    width: 8px;
    background-color: #232323;
}
.b-sidebar-body::-webkit-scrollbar-thumb {
    border-radius: 4px;
    -webkit-box-shadow: inset 0 0 4px rgba(0,0,0,.3);
    background-color: #111;
}
.b-sidebar>.b-sidebar-footer {
    border-top: 1px solid rgba(0,0,0,.2);
    background: #1c1b1b;
    color: #fff;
}

/* top header info */

.swiper-info {
    width: calc(100% - 200px);
}
.swiper-info .top-header-info {
    width: 100%;
    padding: 5px 20px;
    text-align: center;
}
.swiper-info .swiper-slide {
    width: 100%;
}
.swiper-info .top-header-info strong {
    color: #000;
}
.swiper-info .top-header-info span {
    color: #1B5427;
    font-weight: 500;
}

/* header-nav-bottom */

.header-nav-bottom {
    display: inline-flex;
    align-items: center;
    width: 100%;
    justify-content: flex-end;
    padding-bottom: 10px;
}

/* selectors */

.navbar-nav.selectors {
    flex-wrap: nowrap;
}
.navbar-nav.selectors .btn.dropdown-toggle {
    margin: 0 0 3px 0;
    padding: 3px 6px;
    background-color: #fff;
    color: #000;
    border: 1px solid rgba(0,0,0,.2);
    font-size: 12px;
    font-weight: 400;
}

/* sidebar-cart */

.sidebar-cart {
    padding-left: 0;
}

.sidebar-cart .item {
    position: relative;
    width: 100%;
    margin: 0 0 10px 0;
    padding: 10px;
    border: 1px solid rgba(0,0,0,.1);
    background-color: #fff;
}
.sidebar-cart .item:last-child,
.sidebar-cart .item:last-child:first-child {
    margin: 0;
}
.sidebar-cart .item .attributes {
    font-size: 12px;
    color: #000;
    background: #eaf0fa;
    display: table;
    margin: 5px 0;
}
.sidebar-cart .item .deletecartitem {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}
.sidebar-cart .item .col a {
    color: #000;
    font-family: MyriadPro, sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
}
.sidebar-cart .item .col .price, .sidebar-cart .item .col .quantity {
    font-size: 14px;
    font-weight: 500;
}
.sidebar-cart .item .col .price strong, .sidebar-cart .item .col .quantity strong {
    margin: 0 0 0 5px;
    font-size: 18px;
    font-weight: 700;
}
.sidebar-cart .b-sidebar-footer .h5 {
    font-weight: 300;
}
.sidebar-cart .b-sidebar-footer .h4 {
    font-weight: 700;
}
.sidebar-cart .sub-tot-top {
    font-weight: 300;
}
.sidebar-cart .sub-tot-bottom {
    font-family: 'MyriadPro', sans-serif;
}
.header-nav .bi-cart-check {
    width: 40px;
    margin: 6px 0 0 0;
}
.sidebar-cart .cart-button.btn-secondary {
    padding: 12px;
    font-size: 16px;
    font-weight: 700;
    background-color: #111;
    border-color: #111;
    border-width: 2px;
}
.sidebar-cart .cart-button.btn-secondary:hover {
    background-color: #000;
}
.sidebar-cart .no-items-icon {
    font-size: 80px;
}
.sidebar-cart .row.align-items-stretch {
    display: flex;
}

.sidebar-cart .col-lg-6 {
    display: flex;
    flex-direction: column;
}

.sidebar-cart .col-lg-6 .btn {
    flex-grow: 1;
}


/* header promo */

.header-promo {
    margin: 0 auto;
}
.header-promo li a {
    font-size: 16px;
    font-weight: 700;
    padding: 6px 20px;
    border-bottom: 1px solid rgba(0,0,0,.2);
}

/* menu toogler */

#sidebar-menu .b-sidebar-body {
    padding: 0;
}

#mainMenu .category .go-back {
    display: block
}

@media (min-width: 992px) and (max-width: 1399px) {
    .contact-header .content .number, .contact-header .content .title {
        font-size: 12px;
    }
}
@media (min-width: 768px) {
    .top-header-items {
        display: inline-flex;
        flex-direction: row;
        margin-left: 15px;
    }
}
@media (min-width: 576px) {
    .b-sidebar {
        width: 530px;
    }
}
@media (max-width: 1399px) {
    .contact-header {
        max-width: calc(100% - 10px);
    }
}
@media (max-width: 1199px) {
    .header-nav {
        width: 75%;
    }

    #small-searchterms {
        font-size: 18px;
    }

    #small-searchterms::placeholder {
        font-size: 16px;
    }
}
@media (max-width: 991px) {
    .banner-container {
        display: none;
    }
    .banner img {
        padding: 10px 20px;
        width: 100%;
        max-height: none;
    }
    #mainMenu {
        z-index: 9999;
        display: flex;
        align-items: baseline;
    }
    .banner {
        margin-top: 80px;
    }
    .swiper-info {
        display: none;
    }
    .navbar-nav {
        flex-direction: row;
    }
    .Menu li > div.contact-header {
        width: auto;
        margin: 10px;
    }
    .header-nav-container {
        border-bottom: 1px solid #333;
    }
    .header-nav-container .header-bottom {
        border-bottom: 0;
    }
    .header-nav {
        position: fixed;
        top: unset;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        padding: 10px;
        display: none;
 /*       display: inline-flex;*/
        justify-content: space-around;
        box-shadow: 0 -3px 6px rgba(0,0,0,.16), 0 -3px 6px rgba(0,0,0,.23);
        z-index: 1034;
    }
    .header-nav > .navbar {
        width: 100%;
        height: 58px;
    }
    .navbar-brand img {
        max-width: 70px;
        max-height: 45px;
    }
    .header-nav-container::before {
        margin-bottom: 70px;
    }
}
@media (max-width: 575px) {
    #small-searchterms::placeholder {
        font-size: 11px;
    }

    .navbar-nav.top-header-items .nav-link {
        font-size: 22px;
    }
    .sidebar-cart .item img {
        max-width: 75px;
    }
    .sidebar-cart .item .col a {
        display: table;
        max-width: calc(100% - 15px);
        font-size: 14px;
        line-height: 1;
    }
    .sidebar-cart .item .price,
    .sidebar-cart .item .quantity {
        font-size: 14px;
    }
    .sidebar-cart .item .attributes {
        font-size: 12px;
    }
    .sidebar-cart .b-sidebar-footer .h4 {
        font-size: 20px;
    }
    .sidebar-cart .b-sidebar-footer .h5 {
        font-size: 16px;
    }
    .shopping-item .subtotal {
        display: none;
    }

    /* Fix sidebar footer visibility on mobile */
    .b-sidebar {
        display: flex;
        flex-direction: column;
        height: 100vh; /* Fallback for older browsers */
        height: 100dvh; /* Use dynamic viewport height for mobile browsers */
    }
    .b-sidebar > .b-sidebar-header {
        flex-shrink: 0;
    }
    .b-sidebar > .b-sidebar-body {
        flex: 1 1 auto;
        overflow-y: auto;
        min-height: 0;
    }
    .b-sidebar > .b-sidebar-footer {
        flex-shrink: 0;
    }
}
@media (max-width: 380px) {
    .header-nav .navbar-brand img {
        max-width: 120px;
    }
}

/* Header Menu Styles */

.header-menu-category-main {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-menu-category-main a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 12px;
    color: #000 !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    border-left: none;
    background-color: #e8e8e8;
}

.header-menu-category-main a:hover {
    color: #1B5427 !important;
    background-color: #e8e8e8;
}

.header-menu-category-main.active > a {
    color: #1B5427 !important;
    background-color: #e8e8e8;
}

.header-category-name {
    display: inline-block;
    text-transform: uppercase;
}

.header-category-arrow {
    color: #999;
    font-size: 16px;
    transition: transform 0.2s ease-in-out;
    margin-left: 8px;
}

.header-menu-subcategory-item {
    list-style: none;
    margin: 0 0 10px 0;
    padding: 0;
    overflow: visible;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.header-menu-subcategory-item a {
    display: block;
    padding: 0;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s ease-in-out;
    width: 100%;
    cursor: pointer;
}

.header-menu-subcategory-item a:hover {
    color: #1B5427;
}

.header-submenu-indicator {
    color: #999;
    font-size: 16px;
    transition: transform 0.2s ease-in-out;
    padding-left: 10px;
}

.header-menu-subsubcategories {
    list-style: none;
    padding: 0;
    margin: 0;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    position: static;
    background-color: transparent;
    z-index: auto;
    display: block !important;
    visibility: hidden !important;
}

.header-menu-subcategory-item.-hasSubmenu:hover .header-menu-subsubcategories,
.header-menu-subcategory-item:hover .header-menu-subsubcategories {
    max-height: 500px;
    opacity: 1;
    padding: 0;
    visibility: visible !important;
}

.header-menu-subcategory-item.-hasSubmenu:hover .header-submenu-indicator,
.header-menu-subcategory-item:hover .header-submenu-indicator {
    transform: rotate(90deg);
}

.header-menu-subsubcategory-item {
    list-style: none;
    margin: 0;
    padding: 0 0 0 15px;
}

.header-menu-subsubcategory-item a {
    display: block;
    padding: 0;
    color: #93969B;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.2s ease-in-out;
}

.header-menu-subsubcategory-item a:hover {
    color: #1B5427;
}

/* Header Menu Wrapper Container */
.header-menu-wrapper-container {
    position: relative;
}

/* Add border-bottom on category pages only */
.header-menu-wrapper-container.category-page-border {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Header Menu Content Wrapper */
#header-menu-content-wrapper {
    position: relative;
}

#header-menu-content-wrapper.open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Stores Menu Styles */
#header-stores-tab .header-menu-container-new {
    display: block !important;
}

.header-stores-list {
    width: 100%;
    background-color: #ffffff;
}

.header-stores-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 500px;
    overflow-y: auto;
}

.header-store-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 12px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease-in-out;
}

.header-store-item:last-child {
    border-bottom: none;
}

.header-store-item:hover {
    background-color: transparent;
}

.store-picture-container {
    position: relative;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
}

.store-img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.store-icon {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.store-fav {
    flex-shrink: 0;
    cursor: pointer;
    background-color: transparent;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
    margin-left: 40px;
    margin-right: 0;
    padding: 0;
}

.store-fav .icons {
    font-size: 14px;
    color: #999;
    line-height: 1;
}

.store-fav .icon-heart-filled {
    color: #e74c3c;
}

.store-info {
    flex: 1;
    min-width: 0;
}

.store-name {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.store-name a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.store-name a:hover {
    color: #1B5427;
}

.store-description {
    display: none;
}

.store-location {
    display: none;
}

.header-stores-empty {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* Mobile Stores Sidebar */
.mobile-stores-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: 9998;
    transition: right 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-stores-sidebar.show {
    right: 0;
}

.mobile-stores-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    flex-shrink: 0;
}

.mobile-stores-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.close-stores-sidebar {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    font-size: 24px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-stores-sidebar:hover {
    color: #1B5427;
}

.mobile-stores-list {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.mobile-store-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    gap: 12px;
}

.mobile-store-item .store-picture-container {
    flex-shrink: 0;
}

.mobile-store-item .store-img-container {
    display: block;
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 4px;
}

.mobile-store-item .store-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mobile-store-item .store-info {
    flex: 1;
    min-width: 0;
}

.mobile-store-item .store-name {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.mobile-store-item .store-name a {
    color: #333;
    text-decoration: none;
}

.mobile-store-item .store-name a:hover {
    color: #1B5427;
}

.mobile-store-item .store-fav {
    flex-shrink: 0;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-store-item .store-fav .icons {
    font-size: 20px;
    color: #999;
}

.mobile-store-item .store-fav .icon-heart-filled {
    color: #e74c3c;
}

.stores-empty {
    padding: 40px 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* Stores Menu Line in Mobile Menu */
.stores-menu-line {
    list-style: none;
    width: 100%;
}

.stores-menu-line a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 2px solid #e0e0e0;
    width: 100%;
    box-sizing: border-box;
}

.stores-menu-line a:hover {
    background-color: #f5f5f5;
}

/* Stores Menu - Full height list */
ul.Menu.-vertical.-stores {
    position: fixed;
    top: 62px;
    left: 0;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0px 10px 200px 0px;
    align-items: flex-start;
    overflow-y: auto;
    background-color: #fff;
    z-index: 999;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: transform 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: transform 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
}

ul.Menu.-vertical.-stores.show {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

#storesMenu .mobile-store-item {
    justify-content: flex-start;
    width: 100%;
}
