#black-innerreplace {
    padding: 0 !important;
    margin: 0 !important;
}
.navbar-toggler {
    background-color: #1e2b2b;
    /* width: 100%; */
}
.navbar-toggler-icon {
    color: #fff;
}
.navbarbabis {
    display: block;
}
.navbar {
    padding-top: 0px;
    padding-bottom: 0px;
}
.inbetween {
    display: block;
    width: 100%;
    text-align: center;
}
.level0 {
    position: relative;
    width: 100%;
    color: #000;
    border-radius: 5px 5px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.level0icon {
    padding-right: 5px;
}
.label0 {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -ms-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}
.label0 a {
    font-size: 1rem;
    font-family: Inter, sans-serif;
    padding: .5rem 1rem;
    overflow: hidden;
}
.productmenuinner {
    margin: 0;
}
.originallink {
    vertical-align: middle;
    display: table-cell;
}
.icon0 .level1,
.icon1 .level1,
.icon2 .level1,
.icon3 .level1,
.icon4 .level1,
.icon5 .level1,
.icon6 .level1,
.icon7 .level1 {
    margin-left: -12px;
    background-color: rgba(255, 255, 255, 1);
    background-position: 100% 100%, center bottom;
    background-repeat: no-repeat, repeat;
    background-size: auto, auto;
    -webkit-box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.17);
    -moz-box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.17);
    box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.17);
    border-radius: 0 0 5px 5px;
    z-index: 1;
}
.menucat .menucat {
    line-height: 22px;
}
.b2bbutton {
    float: right;
}
.b2bbutton a {
    background: #000;
    color: #fff;
    margin: 0;
    padding: 7px 15px 7px 15px;
    border-radius: 0px;
    font-family: Inter, sans-serif;
}
.level1 {
    position: absolute;
    top: 98%;
    left: 0;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    text-align: center;
    background-color: rgb(255, 255, 255);
    color: #000;
    border-top: 5px solid #393939;
    font-weight: 300;
    font-size: 1rem;
    padding: .5rem;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all .4s ease-in-out;
}
.label1 {
    display: inline-block;
    position: relative;
    font-size: 1rem;
    text-align: center;
    margin: 2px 0px;
    border-radius: 5px;
    width: 220px;
}
.label1 a {
    margin: auto;
    display: block;
    padding: 1px 5px;
    color: #303030;
    font-size: 14px;
}
.menucat .New,
.menucat .Offers {
    display: none;
}
.innercategorythumb {
    position: relative;
    width: 170px;
    height: 120px;
    overflow: hidden;
    display: block;
    text-align: center;
    padding: 0px;
    margin: 10px auto;
    border: 0px solid #cfcfcf;
    border-radius: 5px 5px 0 0;
    background-color: #f4f4f4;
    background-blend-mode: multiply;
}

.navbar-mypink .navbar-toggler {
    color: #fff !important;
    padding: 0;
    width: 100%;
    border: 0;
    text-align: right;
}

.navbarbabisbutton {
    max-width: 50px;
    padding: 5px;
}

.label0:hover > .level1 {
    opacity: 1;
    visibility: visible;
    z-index: 100;
}

.label0:hover a {
    background-color: #ccc;
    color: #000;
}
.dropdown-menu {
  --bs-dropdown-color: #fff;
  --bs-dropdown-bg: #c1a19c;
}


@media (max-width: 1440px) {}
@media (max-width: 1199.98px) {}
/* Dropdown menu enhancements */
.dropdown-menu {
    border: 1px solid #e0e0e0;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    min-width: 200px;
    max-width: min(350px, 90vw);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1050;
    word-wrap: break-word;
    word-break: break-word;
}
.dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}
.dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* Desktop hover behavior */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    .dropdown:hover .nav-link {
        background-color: #e9ecef;
        color: #212529!important;
    }
}

/* Height-constrained screens */
@media (max-height: 600px) {
    .dropdown-menu {
        max-height: calc(100vh - 60px);
        padding: 4px 0;
    }

    .dropdown-item {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}

@media (max-height: 480px) {
    .dropdown-menu {
        max-height: calc(100vh - 40px);
        padding: 2px 0;
    }

    .dropdown-item {
        padding: 4px 10px;
        font-size: 0.85rem;
        line-height: 1.2;
    }

    .dropdown-item .category-icon {
        width: 14px;
        height: 14px;
    }
}

/* Very small height screens (like landscape phones) */
@media (max-height: 400px) {
    .dropdown-menu {
        max-height: calc(100vh - 30px);
        padding: 1px 0;
        font-size: 0.8rem;
    }

    .dropdown-item {
        padding: 3px 8px;
        font-size: 0.8rem;
        line-height: 1.1;
    }

    .dropdown-item .category-icon {
        width: 12px;
        height: 12px;
        margin-right: 4px;
    }
}

.dropdown-item {
    padding: 8px 16px;
    color: #fff;
    background-color: transparent;
    text-decoration: none;
    border-radius: 4px;
    margin: 2px 8px;
    max-width: calc(100% - 16px);
    transition: background-color 0.15s ease, color 0.15s ease;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    line-height: 1.4;
    overflow-wrap: break-word;
    hyphens: auto;
    display: flex;
    align-items: center;
    text-align: left;
    font-size: .95rem;
    margin: 0;
    border-radius: 0;
}

.dropdown-item:hover {
  background-color: #ffffff80;
  color: #b72e2f;
}

.dropdown-item:focus {
    background-color: #b72e2f;
    color: #ffffff;
    outline: 2px solid #b72e2f;
    outline-offset: 2px;
}

.dropdown-item:active {
    background-color: #8b2224;
    color: #ffffff;
}

/* Submenu styling */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    margin-left: -1px;
    border-radius: 0 8px 8px 8px;
    min-width: 180px;
    max-width: min(320px, 85vw);
    display: none;
    opacity: 0;
    visibility: hidden;
}

/* Smart submenu positioning for edge cases */
@media (min-width: 992px) {
    .dropdown-submenu:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    /* Flip submenu to left if too close to right edge */
    .dropdown-submenu.dropstart .dropdown-menu {
        left: auto;
        right: 100%;
        margin-left: 0;
        margin-right: -1px;
        border-radius: 8px 0 8px 8px;
    }
}

/* Position submenu above if too close to bottom */
.dropdown-submenu.dropup .dropdown-menu {
    top: auto;
    bottom: 0;
}

.dropdown-toggle::after {
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.dropdown-submenu .dropdown-toggle::after {
    border-top: 0.3em solid transparent;
    border-right: 0;
    border-bottom: 0.3em solid transparent;
    border-left: 0.3em solid;
    float: right;
    margin-top: 0.5em;
}

/* Left-pointing arrow for dropstart submenus */
.dropdown-submenu.dropstart .dropdown-toggle::after {
    border-top: 0.3em solid transparent;
    border-right: 0.3em solid;
    border-bottom: 0.3em solid transparent;
    border-left: 0;
}

/* Category icons in dropdowns */
.dropdown-item .category-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    margin-right: 8px;
    border-radius: 3px;
    flex-shrink: 0;
}

/* Nav pills dropdown styling */
.nav-pills .dropdown-menu {
    /* border: 1px solid #dee2e6;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease; */
}

.nav-pills .dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

/* Desktop hover behavior for nav pills */
@media (min-width: 992px) {
    .nav-pills .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        display: block;
    }
}

/* Smart submenu positioning for edge cases */



/* Nav link states with WCAG compliance */
.footer-wrap .nav-link {
    transition: all 0.15s ease, color 0.15s ease;
    border-radius: 0;
    color: #fff;
    background-color: transparent;
    padding: 0 .5rem;
}

.nav-link:hover {
    background-color: #c1a19c;
  color: #000;
}

.nav-link:focus {
    background-color: #b72e2f;
    color: #ffffff;
    outline: 2px solid #b72e2f;
    outline-offset: 2px;
}

.nav-link:active {
    background-color: #8b2224;
    color: #ffffff;
}

/* Ensure dropdown toggle has proper contrast */
.dropdown-toggle {
    color: #212529;
    background-color: transparent;
}

.dropdown-toggle:hover {
    background-color: #e9ecef;
    color: #212529;
}

.dropdown-toggle:focus {
    background-color: #b72e2f;
    color: #ffffff;
    outline: 2px solid #b72e2f;
    outline-offset: 2px;
}

.dropdown-toggle:active {
    background-color: #8b2224;
    color: #ffffff;
}

/* Responsive text handling */
.dropdown-item {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.dropdown-menu {
    max-width: min(350px, 90vw);
    word-wrap: break-word;
    word-break: break-word;
}

@media (max-width: 350px) {
    .dropdown-menu {
        min-width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
    }

    .dropdown-item {
        max-width: calc(100vw - 60px);
        white-space: normal;
        word-wrap: break-word;
        font-size: 0.9rem;
        padding: 6px 12px;
        line-height: 1.3;
    }

    .dropdown-submenu .dropdown-menu {
        min-width: calc(100vw - 60px);
        max-width: calc(100vw - 60px);
    }
}

@media (max-width: 280px) {
    .dropdown-menu {
        min-width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
    }

    .dropdown-item {
        padding: 5px 10px;
        font-size: 0.85rem;
        line-height: 1.2;
        word-break: break-all;
    }

    .dropdown-item .category-icon {
        width: 14px;
        height: 14px;
        margin-right: 6px;
    }

    .dropdown-submenu .dropdown-menu {
        min-width: calc(100vw - 30px);
        max-width: calc(100vw - 30px);
    }
}

/* Scrollbar styling for dropdown menus */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

@media (max-width: 350px) {
    .dropdown-menu {
        min-width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
    }
}

@media (max-width: 991.98px) {

    #navbarContent {
        justify-content: flex-end;
        align-items: center;
        padding-left: 0;
    }
    #v-pills-tab {
        flex-direction: column !important;
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        margin: unset !important;
        width: 100%;
        padding: .25rem .5rem;
    }
    .v-pills-wrapper {
        -webkit-overflow-scrolling: touch;
        overflow: auto;
        padding-bottom: 6rem;
        height: 550px;
    }
    .level1{position: relative !important;display: none;}

    /* Mobile/tablet dropdown behavior */
    .dropdown-menu {
         position: static;
        transform: none;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
        border: none;
        border-radius: 0;
        /*background-color: #f8f9fa;
        margin-top: 5px; */
    }

    .dropdown.show .dropdown-menu {
        transform: none;
    }

    .dropdown-submenu .dropdown-menu {
        margin-left: 20px;
        border-left: 2px solid #dee2e6;
        padding-left: 10px;
    }
}
@media (max-width: 767.98px) {
    .label0,
    .label0 a {
        font-size: 20px;
        font-family: Inter, sans-serif;
    }
    .label0 {
        width: 100%;
    }
    .label1 {
        width: 100%;
        display: block;
    }
    .menuthumb {
        display: none !important;
    }
    .label1 a {
        padding: 5px;
    }
    .dropdown{
        /* border: 0px solid !important;
        background: #393939 url("../../images/downarrow.png") no-repeat 50% 50%;
        height: 40px;
        width: 40px;
        border-radius: 5px;
        color: #fff;
        display: block;
        float: right; */
    }
    .originallink {
          width: calc(100% - 50px);
          display: inline-block;
          text-align: center;
          padding: 10px;
          font-size: 15px;
          font-family: "hexabit-bold";
    }
    .label0:hover > .level1{
        opacity: 1;
        -webkit-transition: all .4s ease-in-out;
        -moz-transition: all .4s ease-in-out;
        -o-transition: all .4s ease-in-out;
        -ms-transition: all .4s ease-in-out;
        transition: all .4s ease-in-out;
        z-index: 100;
        visibility: visible;
        display: table;
    }
}
@media (max-width: 630px) {}
@media (max-width: 575.98px) {}
@media (max-width: 500px) {}
@media (max-width: 464px) {}
@media (max-width: 400px) {}