/* URGENT FIXES - Fix logo overlap and language menu */

/* Fix hero section overlap */
.hero-section {
    position: relative;
    min-height: 600px;
    padding: 80px 0;
    overflow: hidden;
}

/* Move the background Micromart text behind everything */
.hero-section::before {
    content: 'Micromart';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.05);
    z-index: 0;
    pointer-events: none;
}

/* Ensure search box is above background */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-search {
    position: relative;
    z-index: 3;
    margin-top: 40px;
    margin-bottom: 30px;
}

/* Hide the inline Micromart text if it exists */
.hero-bg-text {
    display: none !important;
}

/* Language and Currency Separate Selectors */
.language-switcher {
    display: none !important; /* Hide old switcher */
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* New Language Selector */
.lang-selector-new {
    position: relative;
    display: inline-block;
}

.lang-btn-new {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.lang-btn-new:hover {
    border-color: #0658CC;
}

.lang-dropdown-new {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 150px;
    display: none;
    z-index: 1000;
}

.lang-selector-new.active .lang-dropdown-new {
    display: block;
}

.lang-dropdown-new a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
}

.lang-dropdown-new a:hover {
    background: #f5f5f5;
}

/* Currency Selector */
.currency-selector-new {
    position: relative;
    display: inline-block;
}

.currency-btn-new {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.currency-btn-new:hover {
    border-color: #0658CC;
}

.currency-dropdown-new {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 100px;
    display: none;
    z-index: 1000;
}

.currency-selector-new.active .currency-dropdown-new {
    display: block;
}

.currency-dropdown-new a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
}

.currency-dropdown-new a:hover {
    background: #f5f5f5;
}