/**
 * Mobile Top Header Styles
 *
 * Transparent overlay on hero image, white icons.
 * Layout: Logo (left) | Delivery + Search | separator | EN + Hamburger (right)
 *
 * Homepage only. Hidden on desktop (1200px+).
 */

/* ===========================================
   MOBILE TOP HEADER CONTAINER
   =========================================== */
.mobile-top-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    padding: 0 15px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-sizing: border-box;
}

/* ===========================================
   LOGO (Left-aligned, white)
   =========================================== */
.mobile-top-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.mobile-top-logo img {
    width: 76px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ===========================================
   RIGHT GROUP
   =========================================== */
.mobile-top-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Icons sub-group: Search | sep | EN | sep | Hamburger */
.mobile-top-icons-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ===========================================
   DELIVERY PILL (frosted glass, white style)
   =========================================== */
.mobile-delivery-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 4px 2px 2px;
    height: 32px;
    border-radius: 900px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(17.25px);
    -webkit-backdrop-filter: blur(17.25px);
    text-decoration: none;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
    box-sizing: border-box;
}

.mobile-delivery-pill .delivery-flag {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    line-height: 1;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

.mobile-delivery-pill .flag-emoji.flag-uae {
    transform: translateX(6px);
}

.mobile-delivery-pill .delivery-label {
    font-family: var(--font-primary, 'Inter', sans-serif);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
}

.mobile-delivery-pill > svg {
    stroke: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

/* ===========================================
   ICONS (Search, hamburger) - white
   =========================================== */
.mobile-top-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: none;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.mobile-top-icon:hover {
    opacity: 0.75;
}

.mobile-top-icon svg {
    stroke: currentColor;
    fill: none;
    display: block;
}

/* ===========================================
   VERTICAL SEPARATOR
   =========================================== */
.mobile-header-vsep {
    display: block;
    width: 1px;
    height: 11px;
    background: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

/* ===========================================
   LANGUAGE SELECTOR - white
   =========================================== */
.mobile-lang-selector {
    display: flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    color: #fff;
}

.mobile-lang-selector .lang-label {
    font-family: var(--font-primary, 'Inter', sans-serif);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

.mobile-lang-selector svg {
    stroke: rgba(255, 255, 255, 0.8);
    fill: none;
}

/* ===========================================
   DESKTOP - Hide this header
   =========================================== */
@media (min-width: 1200px) {
    .mobile-top-header {
        display: none !important;
    }
}

/* ===========================================
   VERY SMALL SCREENS
   =========================================== */
@media (max-width: 360px) {
    .mobile-top-header {
        padding: 0 10px;
    }

    .mobile-top-right {
        gap: 10px;
    }

    .mobile-top-icons-group {
        gap: 8px;
    }

    .mobile-delivery-pill .delivery-label {
        display: none;
    }

    .mobile-top-logo img {
        width: 65px;
    }
}
