.menu-container {
    position: relative;
    display: inline-block;
}

.tr_menu-help {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tr_menu-more {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-menu-top {
    display: none;
    position: absolute;
    top: calc(100%); /* Меню расположено чуть ниже родителя */
    left: 50%; /* Центровка относительно родителя */
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1024;
    padding: 10px 0;
    list-style: none;
    border-radius: 4px;
}

/*.dropdown-menu-top li {
    padding: 8px 16px;
}*/

.dropdown-menu-top li {
    padding: 5px 10px;
    /* text-align: left; */
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.dropdown-menu-top li a {
    color: white;
    text-decoration: none;
    display: block;
}

.dropdown-menu-top .contact-list li a:hover {
    color:#23a1d1;
}


.dropdown-menu-top button:hover {
color:#23a1d1;
}


.dropdown-menu-top .check-order-mob a:hover {
    color:#23a1d1;
}

.menu-container:hover .dropdown-menu-top {
    display: block;
}

#logo-top {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
#logo-top.visible {
    display: block;
    opacity: 1;
}


.tr_menu-contact-bottom {
    min-width: 60px;
    height: 60px;
    margin-left: 0px;
}

.tr_menu-contact-bottom {
    /*background-color: #ff6600;*/
    /*padding: 17px 20px;*/
    /* margin-right: 10px; */
    /* padding: 20px 20px; */
    /*height: 100%;*/
    /* width: 100%; */
/*    box-sizing: border-box;*/
    /* margin-left: -10px; */
    /* width: 66px; */
    /*width: 69px;
    justify-content: center;
    margin-left: 10px;*/
    display: none; /* Приховано за замовчанням */
    position: fixed; /* Щоб зберегти елемент у видимій зоні при скролінгу */
    bottom: 0; /* Прив'язка до нижнього краю */
    /*width: 100%;*/ /* Адаптація до ширини сторінки */
    background-color: #ff6600; /* Приклад стилізації */
    padding: 10px; /* Внутрішній відступ */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2); /* Тінь для стилю */
    z-index: 1000; /* Щоб елемент залишався поверх інших */
    display: flex; /* Використання Flexbox */
    justify-content: center; /* Вирівнювання по горизонталі */
    align-items: center; /* Вирівнювання по вертикалі */
        border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.tr_menu-contact-bottom svg {
    width: 23px; /* Ширина SVG */
    height: 23px; /* Висота SVG */
    /*fill: #fff;*/ /* Білий колір заливки (опціонально) */
}

.tr_menu-contact-bottom {
    position: relative;
}

.dflex {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    
}

/*.box-cart {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    background-color: #379524;
    padding: 20px 20px;
    height: 100%;
    float: right;
    margin-left: auto;
}*/

.box-cart {
    /* position: relative; */
    /* display: inline-block; */
    /* vertical-align: middle; */
    background-color: #f51627;
    /* padding: 19px 20px; */
    height: auto;
    /* float: right; */
    margin-left: auto;
    right: 10px;
    /* width: auto; */
    min-width: 69px;
    /* max-width: 60px; */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 15px;
    border-radius: 5px;
    cursor: pointer;
}

/*@media (min-width: 992px) {
    .box-cart {
                width: auto;
        -ms-flex-order: 4;
        order: 4;
        background-color: #379624;
        display: flex;
        justify-content: center;
        align-items: center;
                float: right;

    }
}

.shopping-cart #top-cart {
    margin-bottom: 0px;
    padding: 20px 20px;
    background-color: #379524;
}*/

@media (min-width: 992px) and (max-width: 1199px) {
    #menu-desktop .navbar-nav>li {
        align-items: center;
        justify-content: center;
        display: flex;
        padding: 9px 0px !important;
        height: 100%;
    }
}

#menu-desktop .dropdown-menu li {
        border-top: 1px solid #e9e9e9;
}

#menu-desktop .dropdown-menu li a {
    padding: 10px 15px 10px 15px;
    white-space: normal;
    position: relative;
}

/*.box-account {
        padding-right: 15px;
}*/

.shopping-cart {
    background-color: #379524;
    height: auto;
    right: 10px;
    min-width: 69px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 15px;
}

@media (min-width: 992px) {
    .flex-1 {
        flex: 1;
    }
}

.box-cart #cart {
    margin-bottom: 5px;
}

.tr_menu-contact-bottom {
    position: relative;
    /*display: inline-block;*/
        display: none;
}

.tr_menu-contact-bottom:hover .dropdown-menu-top {
    display: block; /* Показуємо меню при наведенні */
}

@media (min-width: 992px) {
    #menu-desktop .arrow {
        position: absolute;
        top: 50%;
        right: 19px;
        margin-top: -3px;
    }
}

.modal {
  display: none; /* Приховано за замовчуванням */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
/*  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border-radius: 8px;*/
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    
    padding: 20px;
    border-radius: 8px;
}

.modal.show {
  display: block;
}

.menu-open {
        overflow: hidden;
    position: fixed;
    width: 100%;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #fff;
  /*border: 1px solid #ccc;*/
  z-index: 1000;
  background-color: #333 !important;
}

.btn-group.box-account.open .dropdown-menu {
background-color: #ffffff !important;
    text-align: center;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%; /* Позиціонуємо підменю праворуч */
}

.menu-desktop .dropdown-menu .dropdown-menu {
    top: -3px !important;
    left: 100% !important;
    margin-left: 1px;
    border-left: 1px solid #ddd;
    height: -webkit-fill-available;
    overflow-y: auto;
}

.dropdown-menu>li>a {
    color: #000;
    padding: 0px;
    font-size: 20px !important;
}

.btn-group.box-account.open .dropdown-menu>li>a {
    font-size: 16px !important;
}

.dropdown-menu>li>a {
    font-size: 14px;
}

.menu {
    /*background-color: rgba(0, 0, 0, 0.7);*/
    background-color: #000;
        position: sticky;
    top: 60px;
    z-index: 1006;
}

#menu .dropdown-inner a {
    color: #ffffff;
}

#menu .dropdown-menu {
    padding-bottom: 0px;
}

#menu .see-all {
    text-align: center;
    color: #000000;
    background-color: #e8e8e8;
}

#menu .dropdown-inner li a:hover {
    background: #379524;
}

#logo-top {
    /*width: 69px;*/ /* Ширина квадрата */
    /*height: 69px;*/ /* Висота квадрата */
    /*display: flex;*/ /* Центрування через Flexbox */
    align-items: center; /* Вертикальне центрирування */
    justify-content: center; /* Горизонтальне центрирування */
    background-color: #fff; /* Опціонально: фон квадрата */
    /*border: 1px solid #ccc;*/ /* Опціонально: рамка */
    overflow: hidden; /* Ховаємо зайве */
        border-radius: 8px;
        margin-right: 15px;
}

#logo-top img {
    max-width: 100%; /* Масштабування зображення по ширині */
    max-height: 100%; /* Масштабування зображення по висоті */
    object-fit: contain; /* Вписування зображення в квадрат */
}

#menu .see-all:hover, #menu .see-all:focus {
    background-color: #379524;
}

.header-bottom-controls__delimiter-middle {
    height: 3.2rem;
    width: 0.1rem;
    background-color: #ababab;
    transition: all 0.3slinear;
    /* padding: 29px 0px 0px 0px; */
    /* margin-top: 20px; */
    margin-left: 11px;
    margin-right: 10px;
}

.wish_and_compare-middle {
    display: flex
;
    justify-content: center;
    /* align-items: center; */
    /* padding: 0px 0px 5px 0px; */
    margin-right: -15px;
    /* margin-top: 10px; */
    border-radius: 4px;
    background: #00000012;
    margin: 1.6rem 0.6rem;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 8px;
    height: 3rem;
    /* line-height: 3rem; */
    margin-left: 10px;
}

.wish_and_compare-middle .fa-heart {
    color: #ff1625;
    background-color: #ff1625;
}

.wish_and_compare-middle .fa-sliders {
    color: #1b7a06;
}
