:root {
    --primary: #f4a51c;
    --primary-dark: #e39312;
    --dark: #1e2a3e;
    --gray-bg: #f8f9fc;
    --border-light: #eaeef2;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
}

/* --- DESKTOP HEADER --- */
.header-desktop {
    display: flex;
    align-items: center;
    background: var(--primary);
    height: 70px;
    padding: 0 3%;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo-img {
    height: 46px;
    cursor: pointer;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.location-box {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    padding: 6px 12px;
    border-radius: 30px;
    transition: all 0.2s;
    background: rgba(255,255,255,0.1);
}

.location-box:hover {
    background: rgba(255,255,255,0.25);
}

.header-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    padding: 6px 14px;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.2s;
    background: transparent;
}

.header-action-btn:hover {
    background: white;
    color: var(--primary);
}

.btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.btn-text small {
    font-size: 10px;
    opacity: 0.85;
}

.btn-text strong {
    font-size: 13px;
    font-weight: 600;
}

/* search */
.search-container {
    flex: 1;
    display: flex;
    height: 44px;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.search-cat {
    border: none;
    background: #f5f5f5;
    padding: 0 16px;
    font-weight: 600;
    color: var(--primary);
    outline: none;
    cursor: pointer;
    border-right: 1px solid #ddd;
}

.search-container input {
    flex: 1;
    border: none;
    padding: 0 16px;
    outline: none;
    font-size: 14px;
}

.search-btn {
    background: white;
    border: none;
    padding: 0 20px;
    color: var(--primary);
    cursor: pointer;
    font-size: 18px;
}

.lang-select {
    background: transparent;
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
    outline: none;
}

.lang-select option {
    color: #222;
}

/* --- MOBILE HEADER (TEMU STYLE - SINGLE ROW) --- */
.header-mobile {
    display: none;
    background: var(--primary);
    padding: 6px 8px;
    position: sticky;
    top: 0;
    z-index: 10005;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.mob-temu-single-row {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.mob-logo-compact {
    height: 28px;
    width: auto;
    flex-shrink: 0;
}

.mob-search-compact {
    flex: 1;
    display: flex;
    background: white;
    border-radius: 20px;
    height: 32px;
    overflow: hidden;
    align-items: center;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.mob-search-compact input {
    flex: 1;
    border: none;
    padding: 0 10px;
    font-size: 11px;
    outline: none;
    width: 100%;
}

.mob-search-btn {
    background: transparent;
    border: none;
    padding: 0 8px;
    color: #888;
    font-size: 13px;
    height: 100%;
    cursor: pointer;
}

.mob-icons-group {
    display: flex;
    gap: 10px;
    color: white;
    font-size: 17px;
    align-items: center;
    flex-shrink: 0;
}

.mob-icons-group i {
    cursor: pointer;
}

.mob-delivery-bar-compact {
    background: rgba(255,255,255,0.15);
    border-radius: 15px;
    margin-top: 4px;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    cursor: pointer;
}

/* Sticky Header Helper */
.header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10005;
}

@media (max-width: 1024px) {
    .header-desktop { display: none; }
    .header-mobile { display: block; }
}

/* Badi screens par padding set karne ke liye */
@media screen and (min-width: 1500px) {
    .header-desktop {
        padding: 0 calc((100% - 1240px) / 2);
    }
}