/* ============================================================
   MILLZOO — Flipkart-Style Premium Header & Navigation
   ============================================================ */

/* Main Header */
.main-header.fk-header {
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    transition: all var(--transition-base);
}

.main-header.fk-header .container {
    max-width: 100%;
    padding: 0 24px;
}

.main-header.fk-header.scrolled {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.header-inner.fk-header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    padding: 3px 0;
    min-height: var(--header-height);
}

/* Brand & Logo (Flipkart Style) */
.fk-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.fk-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.fk-logo-img,
.logo-img {
    height: 46px;
    max-height: 46px;
    width: auto;
    max-width: 175px;
    display: block;
    object-fit: contain;
}

/* Search Bar (Flipkart Signature Soft-Blue Field) */
.fk-search-bar {
    flex: 1;
    max-width: 680px;
    position: relative;
    margin: 0;
}

.fk-search-form {
    display: flex;
    align-items: center;
    background: #f0f5ff;
    border: 1.5px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    height: 38px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fk-search-form:hover {
    background: #e9f0fc;
}

.fk-search-form:focus-within {
    background: #ffffff;
    border-color: #2874f0;
    box-shadow: 0 0 0 3px rgba(40, 116, 240, 0.15);
}

.fk-search-btn {
    background: transparent;
    border: none;
    padding: 0 12px 0 16px;
    color: #717478;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
    height: 100%;
}

.fk-search-form:focus-within .fk-search-btn {
    color: #2874f0;
}

.fk-search-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 16px 0 0;
    font-size: 14px;
    color: #212121;
    font-family: inherit;
    outline: none;
    height: 100%;
}

.fk-search-form input::placeholder {
    color: #717478;
    font-weight: 400;
    font-size: 14px;
}

/* Search Suggestions */
.fk-search-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid #eef0f4;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: var(--z-dropdown);
}

.fk-search-suggestions.active {
    display: block;
}

.search-suggestion-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px 4px 16px;
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.search-suggestion-section-header span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.suggestion-count-pill {
    background: #f1f5f9;
    color: #475569;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 10px;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 16px;
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
    color: #212121;
}

.search-suggestion-item:hover {
    background: #f1f5f9;
}

.search-suggestion-item img {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: cover;
    background: #f8fafc;
}

.search-suggestion-item .suggestion-text {
    flex: 1;
    min-width: 0;
}

.search-suggestion-item .suggestion-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-suggestion-item .suggestion-category {
    font-size: 12px;
    color: #64748b;
}

/* Store Specific Suggestion Card */
.search-suggestion-store {
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.search-suggestion-store:hover {
    background: #eff6ff;
}

.suggestion-store-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1.5px solid #dbeafe;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.suggestion-store-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

.suggestion-store-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
}

.suggestion-store-name {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.suggestion-verified-icon {
    color: #2563eb;
    font-size: 12px;
}

.suggestion-store-sub {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 1px;
}

.suggestion-handle {
    color: #2563eb;
    font-weight: 700;
}

.suggestion-bullet {
    color: #cbd5e1;
    font-size: 10px;
}

.suggestion-store-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #2563eb;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 16px;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.search-suggestion-store:hover .suggestion-store-cta {
    background: #1d4ed8;
    transform: translateX(2px);
}

/* ============================================================
   HEADER ACTIONS (Modern Flipkart / Marketplace Row)
   ============================================================ */
.fk-header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-shrink: 0;
    margin-left: auto;
}

/* Dropdown Wrapper & Seamless Hover Bridge */
.fk-dropdown-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Invisible hover bridge: eliminates premature dropdown dismissal */
.fk-dropdown-wrapper::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -10px;
    right: -10px;
    height: 14px;
    background: transparent;
    z-index: calc(var(--z-dropdown) - 1);
}

/* ============================================================
   BOXLESS / FRAMELESS HEADER ACTION LINKS (Clean & Minimal)
   ============================================================ */
.fk-action-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #1a1a2e;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.2;
    outline: none;
    user-select: none;
    white-space: nowrap;
    font-family: inherit;
}

.fk-action-link:hover {
    color: #2874f0;
    text-decoration: none;
}

/* Icon & Badge Wrapper */
.fk-icon-badge-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}

.fk-action-icon {
    font-size: 18px;
    color: inherit;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.18s ease;
}

.fk-action-link:hover .fk-action-icon {
    transform: scale(1.15);
}

.fk-action-title {
    font-size: 14.5px;
    font-weight: 600;
    color: inherit;
    letter-spacing: -0.01em;
    transition: color 0.18s ease;
}

/* Live Count Badges (Cart & Wishlist) */
.fk-count-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4.5px;
    border: 2px solid #ffffff;
    z-index: 2;
    pointer-events: none;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.badge-rose {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(225, 29, 72, 0.4);
}

.badge-cart {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(255, 65, 108, 0.4);
}

.fk-action-link:hover .fk-count-badge {
    transform: scale(1.15);
}

.fk-wishlist-link:hover .fk-count-badge {
    box-shadow: 0 0 10px rgba(225, 29, 72, 0.55);
}

.fk-cart-link:hover .fk-count-badge {
    box-shadow: 0 0 10px rgba(255, 65, 108, 0.55);
}

/* Chevron */
.fk-chevron {
    font-size: 10px;
    margin-left: 2px;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0.75;
}

.fk-dropdown-wrapper:hover .fk-chevron {
    transform: rotate(180deg);
}

/* Specific Hover Behaviors */
.fk-login-link:hover {
    color: #2874f0;
}

.fk-wishlist-link:hover {
    color: #e94560;
}

.fk-wishlist-link:hover .fk-action-icon {
    color: #e94560;
}

.fk-cart-link:hover {
    color: #2874f0;
}

.fk-seller-link:hover {
    color: #2874f0;
}

.fk-seller-link.fk-seller-active {
    color: #059669;
}

.fk-seller-link.fk-seller-active:hover {
    color: #047857;
}

.fk-more-link {
    padding: 6px 2px;
    font-size: 16px;
    color: #64748b;
}

.fk-more-link:hover,
.fk-dropdown-wrapper:hover .fk-more-link {
    color: #2874f0;
}

/* Logged In User Avatar & Text */
.fk-user-avatar {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2874f0 0%, #1742a0 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(40, 116, 240, 0.25);
    flex-shrink: 0;
    letter-spacing: -0.3px;
}

.fk-action-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.15;
}

.fk-greeting-sub {
    font-size: 10px;
    color: #717478;
    font-weight: 500;
}

.fk-name-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #1a1a2e;
    max-width: 95px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.18s ease;
}

.fk-user-link:hover .fk-name-title,
.fk-dropdown-wrapper:hover .fk-name-title {
    color: #2874f0;
}

/* Avatar Live Notification Dot */
.fk-avatar-dot {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #e94560;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(233, 69, 96, 0.35);
    animation: fkPulseDot 2s infinite;
}

@keyframes fkPulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.85; }
}

/* Backward compatibility fallbacks */
.header-capsule-btn,
.fk-btn-login,
.fk-btn-account,
.fk-nav-item,
.fk-seller-btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* ============================================================
   MODERN FLOATING CARD — ACCOUNT DROPDOWN
   ============================================================ */
.fk-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 325px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.18), 0 8px 24px -4px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(238, 242, 247, 0.95);
    padding: 0;
    z-index: var(--z-dropdown);
    overflow: visible;
}

/* Top pointer caret */
.fk-menu-caret {
    position: absolute;
    top: -6px;
    right: 28px;
    width: 12px;
    height: 12px;
    background: #f8faff;
    border-left: 1px solid #edf2f9;
    border-top: 1px solid #edf2f9;
    transform: rotate(45deg);
    border-radius: 2px 0 0 0;
    z-index: 2;
}

.fk-more-menu .fk-menu-caret {
    right: 14px;
    background: #ffffff;
    border-color: rgba(238, 242, 247, 0.95);
}

.fk-dropdown-wrapper:hover .fk-dropdown-menu {
    display: block;
    animation: fkDropdownSlide 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fkDropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ============================================================
   NEW DROPDOWN HEADING CARDS (Member Pass & VIP Hub)
   ============================================================ */

/* Shared Header Card Container */
.fk-dropdown-header-card {
    position: relative;
    padding: 18px 20px 16px;
    background: linear-gradient(135deg, #f8faff 0%, #edf4ff 50%, #f6f8ff 100%);
    border-radius: 20px 20px 0 0;
    border-bottom: 1px solid #e8eef8;
    overflow: hidden;
}

/* Subtle ambient corner glow */
.fk-dropdown-header-card::before {
    content: '';
    position: absolute;
    top: -35px;
    right: -35px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(40, 116, 240, 0.09) 0%, rgba(40, 116, 240, 0) 70%);
    pointer-events: none;
}

/* Dedicated User Header Card styling — Simple, Clean & Modern */
.fk-user-header-card {
    position: relative;
    padding: 14px 16px 13px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px 20px 0 0;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
}

/* Caret match for logged-in account menu */
.fk-dropdown-wrapper:hover .fk-account-menu .fk-menu-caret {
    background: #ffffff;
    border-left-color: #e2e8f0;
    border-top-color: #e2e8f0;
}

.fk-dropdown-user-header {
    position: relative;
    padding: 18px 20px 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f7faff 60%, #eef5ff 100%);
    border-radius: 20px 20px 0 0;
    border-bottom: 1px solid #e2ecf9;
    overflow: hidden;
}

/* Card Top Meta Row */
.fk-card-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 13px;
    position: relative;
    z-index: 1;
}

/* Brand Pill Tag */
.fk-card-brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #1e40af;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(191, 219, 254, 0.7);
    padding: 2.5px 8.5px;
    border-radius: 20px;
    text-transform: uppercase;
}

.fk-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
    animation: fkPulseDot 2s infinite;
}

/* VIP Access Tag */
.fk-card-vip-tag {
    display: inline-flex;
    align-items: center;
    gap: 4.5px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #b45309;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.45);
    padding: 2.5px 8.5px;
    border-radius: 20px;
    text-transform: uppercase;
}

.fk-card-vip-tag i {
    color: #f59e0b;
}

/* Manage Profile Quick Action */
.fk-card-manage-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(191, 219, 254, 0.7);
    padding: 2.5px 9px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fk-card-manage-link:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.25);
    text-decoration: none;
}

/* Hero Content Block */
.fk-card-hero-block {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 13px;
    position: relative;
    z-index: 1;
}

/* Guest Avatar Bubble Icon */
.fk-guest-avatar-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffffff 0%, #e0edff 100%);
    border: 2.5px solid #ffffff;
    color: #2874f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(40, 116, 240, 0.18), 0 0 0 1px rgba(40, 116, 240, 0.1);
}

.fk-card-hero-text {
    flex: 1;
    min-width: 0;
}

.fk-card-hero-title {
    font-size: 16.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin: 0;
    letter-spacing: -0.02em;
}

.fk-card-hero-subtitle {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.35;
    margin: 3px 0 0;
}

/* Dual Action Button Strip (Sign In + Register) */
.fk-card-action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 5px;
    margin-bottom: 2px;
    position: relative;
    z-index: 1;
}

.fk-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    line-height: 1;
}

.fk-btn-signin {
    background: linear-gradient(135deg, #2874f0 0%, #175cd3 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(40, 116, 240, 0.28);
    border: 1px solid transparent;
}

.fk-btn-signin:hover {
    background: linear-gradient(135deg, #175cd3 0%, #0e44a5 100%);
    transform: translateY(-1.5px);
    box-shadow: 0 6px 18px rgba(40, 116, 240, 0.38);
}

.fk-btn-register {
    background: #ffffff;
    color: #0f172a !important;
    border: 1px solid #d0d7de;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.fk-btn-register:hover {
    background: #f8faff;
    border-color: #2874f0;
    color: #2874f0 !important;
    transform: translateY(-1.5px);
    box-shadow: 0 4px 12px rgba(40, 116, 240, 0.12);
}

/* User Profile Header (Image, Name, Gmail, Mobile No Only) — Simple & Clean */
.fk-user-profile-header {
    display: flex;
    align-items: center;
    gap: 13px;
    position: relative;
    z-index: 1;
}

.fk-profile-avatar-box {
    width: 56px;
    height: 56px;
    border-radius: 13px;
    flex-shrink: 0;
    position: relative;
}

.fk-profile-img {
    width: 56px;
    height: 56px;
    border-radius: 13px;
    object-fit: cover;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    display: block;
}

.fk-profile-initial {
    width: 56px;
    height: 56px;
    border-radius: 13px;
    background: #2874f0;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(40, 116, 240, 0.22);
    letter-spacing: -0.5px;
    user-select: none;
}

.fk-profile-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 56px;
    min-width: 0;
    flex: 1;
}

.fk-profile-name {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fk-profile-contacts {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
}

.fk-contact-chip {
    display: flex;
    align-items: center;
    width: 100%;
    height: 18px;
    gap: 5px;
    padding: 0 7px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    box-sizing: border-box;
    transition: all 0.15s ease;
}

.fk-contact-chip:hover {
    background: #e8eef6;
    border-color: #cbd5e1;
}

.fk-chip-icon {
    font-size: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 13px;
    height: 13px;
}

.fk-mail-chip .fk-chip-icon {
    color: #2563eb;
}

.fk-phone-chip .fk-chip-icon {
    color: #059669;
}

.fk-chip-text {
    font-size: 9.5px;
    font-weight: 500;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
    flex: 1;
}

.fk-phone-chip .fk-chip-text {
    font-weight: 600;
    color: #1e293b;
}

/* Logged-In User Identity Elements */
.fk-avatar-lg {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2874f0 0%, #1742a0 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 800;
    box-shadow: 0 0 0 3px rgba(40, 116, 240, 0.15), 0 4px 10px rgba(40, 116, 240, 0.25);
    flex-shrink: 0;
    position: relative;
    letter-spacing: -0.5px;
}

.fk-avatar-lg .fk-avatar-dot {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e94560;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(233, 69, 96, 0.35);
}

.fk-user-details {
    flex: 1;
    min-width: 0;
}

.fk-card-user-info {
    flex: 1;
    min-width: 0;
}

.fk-user-name-wrap,
.fk-user-details .user-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.fk-verified-icon {
    color: #2874f0;
    font-size: 13.5px;
    flex-shrink: 0;
}

.user-email,
.fk-user-details .user-email {
    font-size: 11.5px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2.5px;
}

.fk-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 4.5px;
    font-size: 9.5px;
    font-weight: 700;
    padding: 2.5px 8.5px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.2;
}

.fk-role-customer { background: #e6f4ea; color: #137333; }
.fk-role-seller { background: #fef7e0; color: #b06000; }
.fk-role-admin { background: #e8f0fe; color: #1a56db; }

/* User Status Pill */
.fk-user-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 600;
    color: #059669;
    background: rgba(16, 185, 129, 0.1);
    padding: 1.5px 7px;
    border-radius: 10px;
    margin-top: 4px;
    line-height: 1.2;
}

.fk-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    box-shadow: 0 0 0 1.5px rgba(16, 185, 129, 0.3);
}

/* 2. 2-Column Quick Shortcut Strip */
.fk-quick-action-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 13px 18px;
    background: #ffffff;
}

.fk-quick-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.fk-quick-tile:hover {
    background: #f0f7ff;
    border-color: #bfdbfe;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(40, 116, 240, 0.12);
    text-decoration: none;
}

.fk-quick-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    flex-shrink: 0;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fk-quick-tile:hover .fk-quick-icon {
    transform: scale(1.12);
}

.fk-quick-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fk-quick-title {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.15;
    transition: color 0.15s ease;
}

.fk-quick-tile:hover .fk-quick-title {
    color: #2874f0;
}

.fk-quick-sub {
    font-size: 10px;
    color: #64748b;
    line-height: 1.1;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 3. Micro-Perks Strip for Trust */
.fk-perks-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 13px;
    padding-top: 11px;
    border-top: 1px dashed #dbeafe;
    position: relative;
    z-index: 1;
}

.fk-perk-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10.5px;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}

.fk-perk-icon {
    font-size: 10.5px;
    color: #059669;
}

.fk-perk-dot {
    color: #cbd5e1;
    font-size: 8px;
}

/* 4. Dropdown Section Micro-Labels & Two-Tier Links */
.fk-menu-label {
    padding: 8px 18px 3px;
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.65px;
    color: #94a3b8;
}

/* Quick Services Dropdown (More Menu) */
.fk-more-menu {
    min-width: 290px;
    border-radius: 18px;
    overflow: hidden;
}

.fk-more-header-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f6f9fe 100%);
    border-bottom: 1px solid #e2ecf9;
    position: relative;
}

.fk-more-header-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: linear-gradient(135deg, #2874f0 0%, #175cd3 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(40, 116, 240, 0.25);
    flex-shrink: 0;
}

.fk-more-header-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fk-more-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}

.fk-more-subtitle {
    font-size: 10.5px;
    color: #64748b;
    line-height: 1.2;
    margin-top: 2px;
}

.fk-more-menu .fk-menu-link {
    padding: 8.5px 14px;
    margin: 2px 6px;
    border-radius: 8px;
    border-left: none;
}

.fk-more-menu .fk-menu-link:hover {
    background: #f8fafc;
    color: #2874f0;
    transform: translateX(3px);
    padding-left: 14px;
}

.fk-menu-section {
    padding: 4px 0 6px;
}

.fk-dropdown-menu .divider {
    border-top: 1px solid #f1f5f9;
    margin: 2px 0;
}

.fk-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 18px;
    color: #334155;
    text-decoration: none;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border-left: 3px solid transparent;
}

.fk-menu-link:hover {
    background: linear-gradient(90deg, rgba(40, 116, 240, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    border-left-color: #2874f0;
    color: #2874f0;
    padding-left: 21px;
    text-decoration: none;
}

/* Icon Pill Accent */
.fk-icon-pill {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fk-menu-link:hover .fk-icon-pill {
    transform: scale(1.12);
}

.icon-blue { background: #eff6ff; color: #2874f0; }
.icon-indigo { background: #eef2ff; color: #4f46e5; }
.icon-rose { background: #ffe4e6; color: #e11d48; }
.icon-amber { background: #fef3c7; color: #d97706; }
.icon-teal { background: #ccfbf1; color: #0d9488; }
.icon-emerald { background: #d1fae5; color: #059669; }
.icon-gray { background: #f1f5f9; color: #475569; }
.icon-danger { background: #fee2e2; color: #dc2626; }

.fk-menu-link-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    line-height: 1.2;
}

.fk-link-title {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    transition: color 0.15s ease;
}

.fk-menu-link:hover .fk-link-title {
    color: #2874f0;
}

.fk-link-sub {
    font-size: 10.5px;
    color: #94a3b8;
    font-weight: 400;
    margin-top: 2px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fk-link-arrow {
    font-size: 9.5px;
    color: #cbd5e1;
    margin-left: auto;
    transition: transform 0.2s ease, color 0.2s ease;
}

.fk-menu-link:hover .fk-link-arrow {
    color: #2874f0;
    transform: translateX(3.5px);
}

.fk-menu-badge {
    margin-left: auto;
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1;
}

.badge-rose { background: #ffe4e6; color: #e11d48; }
.badge-amber { background: #fef3c7; color: #d97706; }

/* Logout Item */
.fk-logout-link {
    color: #dc2626 !important;
    border-radius: 0 0 20px 20px;
}

.fk-logout-link:hover {
    background: linear-gradient(90deg, rgba(220, 38, 38, 0.06) 0%, rgba(255, 255, 255, 0) 100%) !important;
    border-left-color: #dc2626 !important;
}

.fk-logout-link .fk-link-title {
    color: #dc2626 !important;
}

.fk-logout-link:hover .fk-link-arrow {
    color: #dc2626;
}

.fk-more-menu {
    min-width: 275px;
}

/* Backward compatibility fallbacks */
.fk-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #1a1a2e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.fk-badge {
    position: absolute;
    top: -7px;
    right: -9px;
    min-width: 17px;
    height: 17px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e94560 0%, #c73a52 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 1.5px solid #ffffff;
}

.fk-seller-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 5px 14px 5px 8px;
    border-radius: 9px;
    background: #ffffff;
    border: 1px solid #d4e4fc;
    color: #1e3a8a;
    text-decoration: none;
}

.fk-more-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ============================================================
   MOBILE HEADER RIGHT SIDE CONTROLS
   ============================================================ */
.fk-mobile-search-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #1a1a2e;
    padding: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.15s ease;
}

.fk-mobile-search-btn:active {
    background: #f1f5f9;
}

.fk-mobile-user-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.fk-user-avatar-sm {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2874f0 0%, #1742a0 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 1px 4px rgba(40, 116, 240, 0.25);
}

.fk-mobile-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #2874f0;
    font-size: 20px;
    text-decoration: none;
}

/* ============================================================
   FLIPKART CATEGORY NAVIGATION STRIP WITH SUB-CATEGORY DROPDOWNS
   ============================================================ */
.fk-cat-nav {
    background: #ffffff;
    border-bottom: 1px solid #ebebeb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 95;
}

.fk-cat-nav .container {
    max-width: 100%;
    padding: 0 24px;
}

.fk-cat-track {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2px;
    width: 100%;
    overflow: visible;
    position: relative;
}

.fk-cat-item-wrap {
    position: relative;
    display: inline-flex;
    align-items: stretch;
}

.fk-cat-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    color: #333333;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.18s ease;
    border-radius: 0px;
}

.fk-cat-item:hover,
.fk-cat-item-wrap:hover .fk-cat-item,
.fk-cat-item.active {
    color: #2874f0;
    border-bottom-color: #2874f0;
    background: #f0f5ff;
}

.fk-cat-item.active {
    font-weight: 600;
}

.fk-cat-icon {
    font-size: 12px;
    color: #666666;
    transition: color 0.18s;
}

.fk-cat-item:hover .fk-cat-icon,
.fk-cat-item-wrap:hover .fk-cat-icon,
.fk-cat-item.active .fk-cat-icon {
    color: #2874f0;
}

.fk-cat-text {
    font-size: 13px;
}

.fk-cat-chevron {
    font-size: 8.5px;
    color: #999999;
    margin-left: 3px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.18s;
}

.fk-cat-item-wrap:hover .fk-cat-chevron,
.fk-cat-item.active .fk-cat-chevron {
    transform: rotate(180deg);
    color: #2874f0;
}

/* ------------------------------------------------------------
   SUBCATEGORY DROPDOWN MENU (UNIFORM FIXED SIZE / SHARP / CLEAN THEME)
   ------------------------------------------------------------ */
.fk-cat-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
    height: 380px !important;
    min-height: 380px !important;
    max-height: 380px !important;
    background: #ffffff;
    border-radius: 0px !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.04);
    border: 1px solid #e2e8f0;
    border-top: 2.5px solid #2563eb;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
    margin-top: 0px;
    box-sizing: border-box;
}

.fk-cat-item-wrap.align-right .fk-cat-dropdown-menu {
    left: auto;
    right: 0;
}

.fk-cat-item-wrap:hover .fk-cat-dropdown-menu,
.fk-cat-item-wrap:focus-within .fk-cat-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.fk-cat-dropdown-inner {
    display: flex;
    flex-direction: column;
    height: 100% !important;
    width: 100%;
    border-radius: 0px !important;
    box-sizing: border-box;
    background: #ffffff;
}

.fk-cat-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0px !important;
    flex-shrink: 0;
    height: 42px;
    box-sizing: border-box;
}

.fk-cat-hdr-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.1px;
}

.fk-cat-hdr-icon {
    width: 20px;
    height: 20px;
    border-radius: 0px !important;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.fk-cat-hdr-count {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 1.5px 6px;
    border-radius: 0px !important;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.fk-cat-dropdown-grid {
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding: 2px 0px;
    flex: 1 1 auto;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 0px !important;
    box-sizing: border-box;
}

.fk-cat-dropdown-grid::-webkit-scrollbar {
    width: 3.5px;
}

.fk-cat-dropdown-grid::-webkit-scrollbar-track {
    background: #f8fafc;
}

.fk-cat-dropdown-grid::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 0px;
}

.fk-cat-dropdown-grid::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.fk-subcat-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    border-radius: 0px !important;
    text-decoration: none;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    border-left: 3px solid transparent;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.12s ease, color 0.12s ease, padding 0.12s ease;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

.fk-subcat-link:hover {
    background: #f1f5f9;
    color: #2563eb;
    border-left-color: #2563eb;
    padding-left: 17px;
}

.fk-subcat-icon {
    font-size: 10px;
    color: #94a3b8;
    width: 14px;
    text-align: center;
    transition: color 0.12s;
    flex-shrink: 0;
}

.fk-subcat-link:hover .fk-subcat-icon {
    color: #2563eb;
}

.fk-subcat-title {
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.fk-cat-dropdown-footer {
    padding: 9px 14px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-radius: 0px !important;
    flex-shrink: 0;
    height: 38px;
    box-sizing: border-box;
}

.fk-cat-all-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    transition: color 0.12s, transform 0.12s;
}

.fk-cat-all-link:hover {
    color: #1d4ed8;
    transform: translateX(3px);
}

/* ------------------------------------------------------------
   MOBILE MENU ACCORDION STYLES
   ------------------------------------------------------------ */
.mobile-menu-accordion {
    border-bottom: 1px solid #F1F5F9;
}

.mobile-menu-cat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 0;
}

.mobile-cat-main-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #1E293B;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    flex: 1;
}

.mobile-cat-main-link i {
    width: 18px;
    text-align: center;
    color: #64748B;
}

.mobile-cat-expand-btn {
    width: 44px;
    height: 40px;
    background: none;
    border: none;
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: transform 0.25s ease, color 0.15s;
}

.mobile-menu-accordion.is-open .mobile-cat-expand-btn i {
    transform: rotate(180deg);
    color: #2563EB;
}

.mobile-menu-subcat-list {
    display: none;
    padding: 4px 16px 10px 42px;
    background: #F8FAFC;
    border-radius: 8px;
    margin: 0 10px 8px 10px;
}

.mobile-menu-accordion.is-open .mobile-menu-subcat-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-subcat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.mobile-subcat-item:hover {
    background: #EFF6FF;
    color: #2563EB;
}

.mobile-subcat-item.is-all {
    font-weight: 700;
    color: #2563EB;
    border-bottom: 1px dashed #CBD5E1;
    padding-bottom: 8px;
    margin-bottom: 4px;
}

.mobile-subcat-item i {
    font-size: 10px;
    width: 14px;
    color: #94A3B8;
}

/* ============================================================
   MOBILE HEADER
   ============================================================ */
.mobile-header {
    display: none;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--z-overlay);
    backdrop-filter: blur(4px);
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: var(--color-white);
    z-index: calc(var(--z-overlay) + 1);
    transition: left var(--transition-base);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4);
    border-bottom: 1px solid var(--color-gray-100);
    background: var(--color-primary);
    color: var(--color-white);
}

.mobile-menu-header .logo-text {
    font-size: var(--text-xl);
}

.mobile-menu-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    cursor: pointer;
    background: none;
    border: none;
    font-size: var(--text-lg);
}

.mobile-menu-user {
    padding: var(--space-4);
    background: var(--color-gray-50);
    border-bottom: 1px solid var(--color-gray-100);
}

.mobile-menu-user a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-gray-700);
    font-weight: var(--weight-medium);
}

.mobile-menu-nav {
    padding: var(--space-2) 0;
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    color: var(--color-gray-700);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    transition: all var(--transition-fast);
}

.mobile-menu-nav a:hover {
    background: var(--color-gray-50);
    color: var(--color-accent);
}

.mobile-menu-nav a i {
    width: 20px;
    text-align: center;
    color: var(--color-gray-400);
}

.mobile-menu-nav .nav-divider {
    border-top: 1px solid var(--color-gray-100);
    margin: var(--space-2) 0;
}

.mobile-menu-nav .nav-label {
    padding: var(--space-3) var(--space-4) var(--space-1);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-gray-200);
    z-index: var(--z-sticky);
    padding: var(--space-1) 0;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-bottom-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: var(--space-2) var(--space-3);
    color: var(--color-gray-500);
    font-size: 10px;
    font-weight: var(--weight-medium);
    transition: color var(--transition-fast);
    text-decoration: none;
    position: relative;
}

.bottom-nav-item i {
    font-size: var(--text-xl);
}

.bottom-nav-item.active {
    color: var(--color-accent);
}

.bottom-nav-item:hover {
    color: var(--color-accent);
}

.bottom-nav-item .nav-badge {
    position: absolute;
    top: 0;
    right: 4px;
    min-width: 16px;
    height: 16px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 9px;
    font-weight: var(--weight-bold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .main-header .header-inner,
    .main-header .fk-header-inner {
        gap: var(--space-3);
        padding: 4px 0;
    }
    
    .logo-img,
    .fk-logo-img {
        height: 34px;
        max-height: 34px;
        max-width: 140px;
    }
    
    .search-bar,
    .fk-search-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: var(--color-white);
        padding: var(--space-3);
        z-index: calc(var(--z-sticky) + 1);
        display: none;
        box-shadow: var(--shadow-lg);
        margin: 0;
    }
    
    .search-bar.mobile-active,
    .fk-search-bar.mobile-active {
        display: block;
    }
    
    .fk-header-actions {
        gap: 12px;
    }
    
    .fk-action-link {
        padding: 4px 6px;
    }
    
    .category-nav,
    .fk-cat-nav {
        display: none !important;
    }
    
    .mobile-bottom-nav { display: block; }
    
    .d-none-mobile-menu { display: none !important; }

    body {
        padding-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .fk-nav-item,
    .header-action {
        padding: 4px;
    }
}

@media (min-width: 769px) {
    .mobile-bottom-nav { display: none; }
    .fk-mobile-search-btn,
    .mobile-search-btn,
    .fk-mobile-user-btn,
    .fk-mobile-login-btn { display: none !important; }
    .mobile-menu-btn { display: none !important; }
}

/* ============================================================
   LIVE LOCATION WIDGET (Header Right of Search Bar)
   ============================================================ */
.fk-location-box {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 5px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    flex-shrink: 0;
    text-decoration: none;
}

.fk-location-box:hover,
.fk-location-box:focus-visible {
    background: #ffffff;
    border-color: #2874f0;
    box-shadow: 0 3px 10px rgba(40, 116, 240, 0.12);
    outline: none;
}

.fk-location-icon-wrap {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fk-location-pin {
    color: #2563eb;
    font-size: 13.5px;
}

.fk-location-pulse {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    bottom: 2px;
    right: 2px;
    box-shadow: 0 0 0 2px #ffffff;
    animation: locPulseAnim 2s infinite;
}

@keyframes locPulseAnim {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.fk-location-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: left;
}

.fk-location-sub {
    font-size: 10.5px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.fk-location-main {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.fk-location-city-name {
    max-width: 125px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.fk-location-chevron {
    font-size: 9px;
    color: #94a3b8;
    transition: transform 0.2s;
}

.fk-location-box:hover .fk-location-chevron {
    transform: translateY(1px);
    color: #2563eb;
}

/* Mobile Quick Location Bar */
.fk-mobile-location-bar {
    background: #eff6ff;
    border-bottom: 1px solid #dbeafe;
    padding: 7px 0;
    cursor: pointer;
}

.fk-mobile-loc-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #1e3a8a;
}

.fk-mobile-loc-icon {
    color: #2563eb;
    font-size: 12px;
}

.fk-mobile-loc-prefix {
    color: #64748b;
    font-weight: 500;
}

.fk-mobile-loc-value {
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.fk-mobile-loc-arrow {
    font-size: 9px;
    color: #64748b;
    margin-left: auto;
}

/* ============================================================
   LOCATION POPUP MODAL (Modern E-commerce Selector)
   ============================================================ */
.location-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(5px);
    z-index: 100050;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 16px;
}

.location-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.location-modal-card {
    background: #ffffff;
    border-radius: 18px;
    width: 100%;
    max-width: 490px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: scale(0.95) translateY(8px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.location-modal-overlay.active .location-modal-card {
    transform: scale(1) translateY(0);
}

.location-modal-header {
    padding: 18px 22px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
}

.location-modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.location-modal-icon-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.location-modal-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.location-modal-sub {
    font-size: 12px;
    color: #64748b;
    margin: 2px 0 0 0;
}

.location-modal-close {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #64748b;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.location-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.location-modal-body {
    padding: 20px 22px;
    overflow-y: auto;
}

/* GPS Button */
.location-gps-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #eff6ff;
    border: 1.5px solid #bfdbfe;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
    margin-bottom: 16px;
    font-family: inherit;
}

.location-gps-card:hover {
    background: #dbeafe;
    border-color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.location-gps-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.location-gps-info {
    flex: 1;
}

.location-gps-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1e3a8a;
}

.location-gps-sub {
    display: block;
    font-size: 11.5px;
    color: #3b82f6;
    margin-top: 1px;
}

.location-gps-arrow {
    color: #2563eb;
    font-size: 12px;
}

/* Divider */
.location-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 14px 0 16px 0;
}

.location-divider::before,
.location-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.location-divider span {
    padding: 0 12px;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

/* Pincode Input Form */
.location-pincode-form {
    margin-bottom: 18px;
}

.location-input-group {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-input-icon {
    position: absolute;
    left: 12px;
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
}

.location-input-group input {
    flex: 1;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 12px 10px 34px;
    font-size: 13.5px;
    font-weight: 600;
    outline: none;
    transition: all 0.2s ease;
    background: #f8fafc;
}

.location-input-group input:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.btn-location-apply {
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: inherit;
}

.btn-location-apply:hover {
    background: #1d4ed8;
}

.btn-location-apply:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.location-msg-box {
    font-size: 12px;
    margin-top: 6px;
    display: none;
}

.location-section-heading {
    font-size: 12px;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 16px 0 10px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Saved Addresses Grid */
.location-saved-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.location-saved-item {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.15s ease;
    background: #ffffff;
    position: relative;
}

.location-saved-item:hover {
    border-color: #2563eb;
    background: #f8fafc;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.location-addr-edit-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 11.5px;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 3px 9px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease;
    z-index: 2;
}

.location-addr-edit-btn:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: scale(1.03);
}

.location-addr-type {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.badge-home { background: #dcfce7; color: #166534; }
.badge-work { background: #e0e7ff; color: #3730a3; }
.badge-other { background: #f1f5f9; color: #475569; }

.location-addr-name { font-size: 13px; color: #0f172a; margin-bottom: 2px; }
.location-addr-line { font-size: 12px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.location-addr-city { font-size: 12px; color: #334155; margin-top: 2px; }

/* Preset Metro Chips */
.location-cities-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.loc-chip {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.loc-chip:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: translateY(-1px);
}

@media (max-width: 991px) {
    .fk-location-box {
        display: none !important;
    }
}
