html {
    margin: 0 !important;
}
.custom-header {
    position: fixed;
    width: 100%;
    z-index: 99999;
    background: #fff;
    margin: 0;
}
.dynamic-header {
    background: #DFDFDF;
    text-align: center;
    font-size: 18px;
    color: #000;
    padding: 5px;
    text-transform: uppercase;
}

.dynamic-header .slide {
    width: 100%;
    height: 30px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
	display: none;
    flex-direction: row;
    align-items: center;
	justify-content: center;
}

.dynamic-header .slide.active {
    opacity: 1;
	display: flex;
}

.dynamic-header img {
    height: auto;
}

.dynamic-header p {
    color: #000;
    font-size: 18px;
    padding-left: 8px;
    text-transform: uppercase;
	margin: 0;
	font-weight: 500;
}
.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    box-shadow: 0px 1px 7px 0px rgb(0 0 0 / 10%);
    height: 70px;
}
.navbar-brand-logo img {
    width: 150px;
    margin-top: 7px;
}
.menu-menu-container {
    display: flex;
}
#menu-menu  {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}
#menu-menu .menu-item {
    padding: 0px 10px;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 1.2px;
    font-size: 16px;
}
#menu-menu .sub-menu .menu-item {
    text-transform: capitalize;
    line-height: 25px;
}
#menu-menu .menu-item a, .mini-cart  .cart-img a {
   text-decoration: none;
}
#menu-menu .menu-item a, .mini-cart  .cart-img a {
   text-decoration: none;
   color: #000;
}

#menu-menu a.active {
    font-weight: 500;
}

.mini-cart {
    background: url('/wp-content/themes/biosigla-ttwo/assets/images/header-img/download.png') no-repeat;
        width: 190px;
        height: 70px;
        background-size: cover;
        position: relative;
        top: -3px;
        text-align: center;
        left: -12px;
}
.mini-cart svg {
    width: 28px;
    padding-top: 15px;
}
.dropdown-menu.dropdown-menu-mini-cart {
    display: none;
}
.sub-menu {
    display: none;
}
#cart-count {
    position: relative;
    top: 10px;
    left: 0;
    font-size: 20px;
    font-weight: 600;
}
.dropdown-back {
    text-decoration: none;
    font-size: 18px;
}
#menu-menu .menu-item-has-children > a::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
    position: relative;
    top: 0px;
    left: 0px;
}
.menu-item-has-children ul {
    line-height: 18px;
    min-width: 10rem;
    padding: 0.5rem 0px;
    margin: 0.125rem 0px 0px;
    font-size: 1rem;
    color: rgb(33, 37, 41);
    text-align: left;
    list-style: none;
    background-color: rgb(255, 255, 255);
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    position: absolute;
}
.cart-img {
    background: #fff;
    height: 60px;
    width: 32%;
    margin: 5px auto;
    border-radius: 30px;
}
.menu.open {
    display: block;
    flex-direction: column;
    text-align: center;
}
.menu-toggle {
    display: none;
}
#menu-menu .menu-item a[aria-current="page"], #menu-menu .current-menu-parent > a {
    font-weight: 500;
}
.mini-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255 255 255 / 30%);
    backdrop-filter: blur(10px);
    z-index: 9998;
    display: none; /* Скрито по подразбиране */
}
/* Когато overlay е активен */
.mini-cart-overlay.active {
    display: block;
}

.mini-cart-container {
    position: relative;
}

.mini-cart-icon {
    cursor: pointer;
}

.mini-cart-slide {
    position: fixed;
    right: -100%;
    top: 0;
    max-width: 400px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    z-index: 9999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mini-cart-slide.open {
    right: 0;
}

.mini-cart-header {
    padding: 10px;
    color: #fff;
    background: #222222;
    margin: 0px;
    text-transform: capitalize;
    font-family: 'Hammersmith One', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}
.mini-cart-header h4 {
    margin: 0;
    padding: 0 15px;
    font-size: 20px;
}
.mini-cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 0px 0 0 10px;
    background: #fff;
    margin-bottom: 15px;
    overflow: hidden;
}

.mini-cart-footer {
    padding: 15px;
    background: #f7f7f7;
    border-top: 1px solid #ddd;
}

.mini-cart-footer .checkout {
    display: block;
    width: 100%;
    text-align: center;
    background: #659A40;
    line-height: 18px;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    height: 42px;
}

.mini-cart-footer .checkout:hover {
   filter: brightness(1.1);
}

.close-cart {
    font-size: 24px;
    cursor: pointer;
    font-family: sans-serif;
}
.mini-cart-content ul.cart_list li, .mini-cart-content ul.product_list_widget li {
    display: grid;
    border-bottom: var(--divider-width, 1px) var(--divider-style, solid) var(--divider-color, #d5d8dc);
    margin-right: 5px;
}
.woocommerce-mini-cart-item.mini_cart_item {
    padding-right: 5px;
}
.mini-cart-content ul.cart_list li a, .mini-cart-content ul.product_list_widget li a {
    text-align: left;
    float: left;
    font-weight: 700;
}
.mini-cart-content ul.product_list_widget li .remove.remove_from_cart_button {
    position: relative;
    width: 20px;
    margin: auto;
    margin-right: 0;
    top: 10px;
    height: 10px;
    color: var(--wc-red) !important;
    background: transparent;
    font-size: 22px;
}
.mini-cart-content a.remove:hover {
    color: var(--wc-red) !important;
    background: transparent;
}
.mini-cart-conten ul.cart_list li a,  .mini-cart-conten ul.product_list_widget li a {
    font-weight: 700;
}
.mini-cart-content ul.cart_list li img, .mini-cart-content ul.product_list_widget li img {
    float: left;
    width: 80px;
    margin-right: 5px;
    margin-left: 5px;
    height: auto;
    box-shadow: none;
}
.mini-cart-content ul.cart_list li dl, .mini-cart-content ul.product_list_widget li dl {
    display: none;
}
.mini-cart-content ul.product_list_widget li .quantity {
    width: 100%;
    position: relative;
    top: -45px;
    height: 10px;
    text-align: left;
    padding-left: 90px;
}

.woocommerce-mini-cart__total.total {
    position: absolute;
    bottom: 81px;
    left: 12px;
    right: 12px;
    border: none;
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    background: #fff;
    margin: 0;
}
.mini-cart-cross-sells {
    margin-top: 30px;
    margin-bottom: 30px;
    max-height: 45%;
    overflow: auto;
    bottom: 80px;
    left: 0;
    right: 0;
     position: absolute;
}
.mini-cart-cross-sells::-webkit-scrollbar {
    width: 9px; /* Тънък скролбар */
}
.mini-cart-cross-sells::-webkit-scrollbar-thumb {
    background-color: #888; /* Цвят на плъзгача */
    border-radius: 3px; /* Заобляне */
}
.mini-cart-cross-sells::-webkit-scrollbar-track {
    background: #f1f1f1; /* Фон на скролбара */
}
.mini-cart-content .woocommerce-mini-cart.cart_list.product_list_widget {
    max-height: 55%;
    overflow: auto;
    list-style: none outside;
    padding: 0;
    margin: 0;
}
.woocommerce-mini-cart.cart_list.product_list_widget::-webkit-scrollbar {
    width: 9px; /* Тънък скролбар */
}
.woocommerce-mini-cart.cart_list.product_list_widget::-webkit-scrollbar-thumb {
    background-color: #888; /* Цвят на плъзгача */
    border-radius: 3px; /* Заобляне */
}
.woocommerce-mini-cart.cart_list.product_list_widget::-webkit-scrollbar-track {
    background: #f1f1f1; /* Фон на скролбара */
}
body.no-scroll {
    overflow: hidden;
    height: 100vh;
}
.cross-sell-products div {
    display: flex;
    margin-bottom: 8px;
    border-bottom: var(--divider-width, 1px) var(--divider-style, solid) var(--divider-color, #d5d8dc);
} 
@media(min-width: 500px) {
    .cross-sell-products div {
        justify-content: space-evenly;
    }
}
.cross-sell-products div a {
    width: 85px;
} 
.cross-sell-products .product-cross-info {
    display: flex;
    flex-direction: column;
    width: 50%;
    border-bottom: none;
}
.btncross {
    text-align: center;
    background: #659A40;
    color: #fff !important;
    text-transform: uppercase;
    border-radius: 5px;
    border: none;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 10px;
    line-height: 20px;
    height: 30px;
    margin-right: 5px;
    width: 80px;
    margin-left: 10px;
}
.cross-title {
    font-size: 18px;
    margin-bottom: 15px;
}
.product-cross-info .product-name {
    font-weight: 700;
    text-align: left;
    margin: 0;
    font-size: 14px;
}
.product-quantity {
    font-weight: 500;
    text-align: left;
    margin-bottom: 0px;
    font-size: 14px;
}
.cross-price .woocommerce-Price-amount.amount {
    margin-right: 10px;
}
.cross-price {
    margin: 0;
    text-align: left;
    display: flex
;
}
.cross-price ins {
    text-decoration: none;
    color: red;
    font-weight: 600;
}
.cross-sell-products .attachment-thumbnail {
    height: auto;
    max-width: 100%;
}
@media screen and (max-width: 1100px) {
    .header-content {
        gap: 0rem;
    }
    .navbar-brand-logo img {
        width: 135px;
    }
    .dynamic-header p {
        font-size: 16px;
    }
}
@media screen and (max-width: 993px) {
    .header-content {
        justify-content: space-between;
    }
    #menu-menu {
        display: none;
        position: absolute;
        left: 0;
        background: #f8f9fa;
        width: 100%;
        left: 0;
        line-height: 35px;
        padding: 10px 0 15px;
        margin: 30px 0 0;
        text-align: left;
        z-index: 99;
    }
    .menu-toggle {
        display: block;
        margin: 0 10px;
        width: 60px;
        height: 40px;
        font-size: 32px;
        font-weight: 500;
        background: transparent;
        border: none;
        margin-top: -15px;
    }
    .navbar-brand-logo {
        text-align: center;
        margin: auto;
    }
    .mini-cart {
        background: unset;
        width: 75px;
        align-items: right;
        left: -12px;
    }
    .cart-img {
        background: #DFDFDF;
        width: 100%;
        height: 50px;
        margin-top: 10px;
    }
    .mini-cart svg {
        padding-top: 10px;
        left: 14px;
    }
    #cart-count {
        top: 9px;
        left: 0px;
    }
}
@media(max-height: 740px) {
    .mini-cart-content .woocommerce-mini-cart.cart_list.product_list_widget {
        max-height: 48%;
    }
}
@media(max-height: 667px) {
    .mini-cart-content .woocommerce-mini-cart.cart_list.product_list_widget {
        max-height: 40%;
    }
}
@media screen and (max-width: 499px) {
    .dynamic-header p {
        font-size: 11px;
        padding-left: 5px;
    }
    .menu-toggle {
        width: 35px;
    }
    .navbar-brand-logo img {
        width: 120px;
    }
    .cart-img {
        height: 45px;
        margin-top: 17px;
    }
    .mini-cart {
        width: 55px;
        left: -5px;
    }
    .mini-cart svg {
        left: 8px;
        padding-top: 8px;
        width: 25px;
    }
    #cart-count {
        top: 7px;
        left: -3px;
    }
    .dropdown-back {
        font-size: 16px;
    }
    .header-content {
        gap: 1rem;
    }
    .mini-cart-slide {
        max-width: 310px;
    }
    .page-custom .dynamic-header p {
        font-size: 11px;
    }
    .product-cross-info .product-name {
        line-height: 16px;
    }
    ul.cart_list .woocommerce-mini-cart-item a {
        line-height: 18px;
    }
    ul.cart_list li, ul.product_list_widget li {
        margin-right: 5px;
        padding: 0;
    }
}

@media screen and (max-width: 344px) {
    .dynamic-header p {
        font-size: 10px;
    }
}

.dropdown-menu {
    position: absolute;
    top: 100%; /* Менюто започва точно под бутона */
    left: 0;   /* Подравняване вляво (по подразбиране) */
    z-index: 1050; /* Уверете се, че менюто е над другите елементи */
}

.dropdown-menu.show {
    display: block; /* Задължително за показване на менюто */
}
.dropdown-item {
    padding: .25rem 1rem;
} 
.dropdown-toggle {
    color: #000;
}
.navbar-nav.mobile-lang-menu .dropdown-menu.show {
    position: fixed;
}