/* Wrapper to ensure full width centering */
.mh-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Main Pill Container */
.mh-pill-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: #fff;
    border-radius: 999px; /* Pill shape */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Soft shadow */
    box-sizing: border-box;
    transition: all 0.3s ease;
    position: relative;
}

/* Sections */
.mh-left-icons,
.mh-right-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2; /* Keep above centered logo if overlap */
}

.mh-center-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute; /* Absolute center for the logo */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Responsive safeguard */
@media (max-width: 768px) {
    .mh-center-logo {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        padding: 0 10px;
        flex-grow: 1;
    }
    
    .mh-menu-text {
        display: none; /* Hide 'MENU' text on mobile */
    }
    
    .mh-menu-btn {
        padding: 0 !important;
        width: 45px; /* Become a circle */
        justify-content: center;
    }
}

/* Icon Buttons (Circles) */
.mh-icon-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px; /* Default handled by JS/CSS control */
    height: 45px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
    overflow: hidden; /* For images */
}

.mh-icon-btn:hover {
    border-color: #333;
    color: #000;
}

.mh-icon-btn i {
    font-size: 18px;
}

.mh-icon-btn img {
    display: block;
    object-fit: contain;
    /* Size handled by control */
}

/* Logo */
.mh-logo-link {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mh-logo-text {
    font-family: 'Times New Roman', serif; /* Fallback */
    font-weight: 400;
    font-size: 32px;
    color: #000;
    font-style: italic;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.mh-logo-image img {
    display: block;
    height: auto;
    width: auto;
    /* Width handled by control */
}

/* Menu Button (Capsule) */
.mh-menu-btn {
    display: flex;
    align-items: center;
    height: 45px;
    border: 1px solid #e0e0e0;
    border-radius: 999px;
    padding: 0 10px 0 20px; /* Text left, Icon right */
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    cursor: pointer;
    gap: 10px;
}

.mh-menu-btn:hover {
    border-color: #333;
    color: #000;
}

.mh-menu-text {
    font-family: sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Icons styling adjustments */
.fa-user, .fa-heart, .fa-envelope {
    font-weight: 400; /* Regular style */
}
.fa-bag-shopping, .fa-magnifying-glass {
    font-weight: 600; /* Solid style */
}
