:root {
    --dorsa-yellow: #F6C900;
    --dorsa-black: #181818;
}

.main-header {
    z-index: 1089;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 35px;
}

.logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    height: 100%;
    align-items: center;
}

.header-actions {
    z-index: 1;
    display: flex;
    align-items: center;
}

.logo {
    height: 24px;
    display: block;
}

.menu-button img {
    transition: transform 0.3s ease;
}

.menu-button img.rotate-icon {
    transform: rotate(180deg);
}  

.header-menu-list {
    display: none;
}

.main-header .cart-badge {
    position: absolute;
    top: -3px;
    right: -5px;
    background: var(--bs-danger);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s ease;
}
  
.main-header .cart-badge.show {
    display: flex;
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .base-logo.logo-container {
        /* left: 0;
        transform: unset; */
    }
}

@media (max-width: 410px) {
    .base-logo.logo-container img {
        max-width: 170px;
    }
}

@media (max-width: 500px) {
    .base-logo.logo-container img {
        height: 16px;
    }
}

@media (max-width: 416px) {
    [dir='rtl'] .base-logo.logo-container {
        left: 40%;
    }
    [dir='ltr'] .base-logo.logo-container {
        left: 60%;
    }
}