
<style>
    /* Import Plus Jakarta Sans Font */
    @import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');
    
    /* Force hide Astra header completely */
    #masthead,
    .site-header,
    .ast-header-break-point .site-header,
    .ast-desktop .site-header,
    header.site-header,
    .main-header-bar,
    .ast-main-header-wrap,
    .ast-primary-header {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    /* No body padding needed - headers scroll naturally */
    body {
        padding-top: 0 !important;
    }
    
    /* Ensure our header is visible */
    .grabb-main-header {
        display: block !important;
        visibility: visible !important;
    }
    
    .grabb-navbar {
        display: block;
        visibility: visible;
    }
    
    /* Container */
    .grabb-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    /* ========================================
       1. MAIN HEADER (Combined Top Bar)
       ======================================== */
    .grabb-main-header {
        background: white;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
        padding: 20px 0;
        position: relative;
        z-index: 999;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .grabb-main-header-inner {
        display: grid;
        grid-template-columns: 180px 1fr auto;
        gap: 25px;
        align-items: center;
    }
    
    /* Logo */
    .grabb-logo {
        padding-left: 40px;
    }
    
    .grabb-logo a {
        display: flex;
        align-items: center;
        text-decoration: none;
    }
    
    .grabb-logo-img {
        height: 45px;
        width: auto;
        display: block;
    }
    
    .grabb-logo-text {
        font-size: 2rem;
        font-weight: 900;
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        letter-spacing: -0.5px;
    }
    
    /* Location Selector */
    .grabb-location-selector {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 0 16px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 0.9rem;
        font-weight: 600;
        color: #059669;
        white-space: nowrap;
        background: transparent;
        border: none;
        border-radius: 0;
    }
    
    .grabb-location-selector:hover {
        color: #10b981;
    }
    
    .grabb-location-selector:hover i {
        transform: scale(1.1);
    }
    
    .grabb-location-selector i {
        color: #10b981;
        font-size: 1rem;
        transition: all 0.3s ease;
    }
    
    /* Search Divider */
    .grabb-search-divider {
        width: 2px;
        height: 30px;
        background: linear-gradient(to bottom, transparent, #dee2e6, transparent);
        margin: 0;
    }
    
    /* Search Bar */
    .grabb-search-bar {
        max-width: 700px;
    }
    
    .grabb-search-form {
        display: flex;
        align-items: center;
        background: #f8f9fa;
        border: 2px solid #e9ecef;
        border-radius: 50px;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .grabb-search-form:focus-within {
        border-color: #10b981;
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
        background: white;
    }
    
    .grabb-search-input {
        flex: 1;
        border: none;
        background: transparent;
        padding: 15px 24px;
        font-size: 0.95rem;
        font-family: 'Plus Jakarta Sans', sans-serif;
        color: #212529;
        outline: none;
    }
    
    .grabb-search-input::placeholder {
        color: #9ca3af;
    }
    
    .grabb-search-button {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        border: none;
        padding: 15px 24px;
        color: white;
        cursor: pointer;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .grabb-search-button:hover {
        background: linear-gradient(135deg, #059669 0%, #047857 100%);
    }
    
    /* Download Icons */
    .grabb-download-icons {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .grabb-download-icons a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #f8f9fa;
        border-radius: 10px;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .grabb-download-icons a[title*="App Store"] {
        color: #000000;
    }
    
    .grabb-download-icons a[title*="App Store"]:hover {
        background: #000000;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    .grabb-download-icons a[title*="Play Store"]:hover {
        background: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .grabb-download-icons svg {
        width: 24px;
        height: 24px;
    }
    
    /* Header Actions */
    .grabb-header-actions {
        display: flex !important;
        align-items: center;
        gap: 15px;
        visibility: visible !important;
    }
    
    /* Cart */
    .grabb-cart {
        display: flex !important;
        align-items: center;
        gap: 10px;
        padding: 8px;
        background: transparent;
        border: none;
        border-radius: 0;
        text-decoration: none;
        color: #212529;
        transition: all 0.3s ease;
        position: relative;
        visibility: visible !important;
    }
    
    .grabb-cart:hover {
        color: #10b981;
    }
    
    .grabb-cart-icon {
        position: relative;
    }
    
    .grabb-cart-icon i {
        font-size: 1.5rem;
    }
    
    .grabb-cart-count {
        position: absolute;
        top: -8px;
        right: -8px;
        background: #10b981;
        color: white;
        font-size: 0.7rem;
        font-weight: 700;
        padding: 2px 6px;
        border-radius: 10px;
        min-width: 18px;
        text-align: center;
    }
    
    .grabb-cart-price {
        font-weight: 700;
        font-size: 0.95rem;
    }
    
    /* Buttons */
    .grabb-btn {
        padding: 11px 24px;
        border-radius: 10px;
        font-weight: 600;
        font-size: 0.9rem;
        text-decoration: none;
        transition: all 0.3s ease;
        cursor: pointer;
        border: 2px solid;
        font-family: 'Plus Jakarta Sans', sans-serif;
        display: inline-block;
    }
    
    .grabb-btn-register {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        color: white;
        border-color: transparent;
        box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
    }
    
    .grabb-btn-register:hover {
        background: linear-gradient(135deg, #059669 0%, #047857 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
    }
    
    .grabb-btn-login {
        background: transparent;
        color: #10b981;
        border-color: #10b981;
    }
    
    .grabb-btn-login:hover {
        background: #f0fdf4;
        border-color: #10b981;
        color: #059669;
        transform: translateY(-2px);
    }
    
    /* ========================================
       2. NAVIGATION BAR
       ======================================== */
    .grabb-navbar {
        background: white;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        padding: 0;
        position: relative;
        left: 0;
        right: 0;
        z-index: 1000;
        transition: all 0.3s ease;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .grabb-navbar-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Left: Categories Button */
    .grabb-categories-btn {
        display: flex;
        align-items: center;
        gap: 10px;
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        color: white;
        padding: 12px 24px;
        border-radius: 10px;
        border: none;
        font-weight: 600;
        font-size: 0.95rem;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: 'Plus Jakarta Sans', sans-serif;
        box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
        margin-left: 40px;
    }
    
    .grabb-categories-btn:hover {
        background: linear-gradient(135deg, #059669 0%, #047857 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
    }
    
    .grabb-categories-btn i {
        font-size: 1.1rem;
    }
    
    /* Center: Menu */
    .grabb-menu {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 5px;
    }
    
    .grabb-menu li a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 18px;
        color: #495057;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.95rem;
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    
    .grabb-menu li a i {
        font-size: 1rem;
        opacity: 0.7;
        transition: all 0.3s ease;
    }
    
    .grabb-menu li a:hover,
    .grabb-menu li a.active {
        color: #10b981;
        background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
        transform: translateY(-1px);
    }
    
    .grabb-menu li a:hover::before,
    .grabb-menu li a.active::before {
        opacity: 1;
        transform: scale(1.1);
    }
    
    .grabb-menu li a:hover i,
    .grabb-menu li a.active i {
        opacity: 1;
        transform: scale(1.1);
    }
    
    .grabb-menu li a.active {
        font-weight: 600;
    }
    
    /* Right: Phone */
    .grabb-phone {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 600;
        font-size: 0.95rem;
        color: #212529;
        margin-right: 40px;
    }
    
    .grabb-phone i {
        color: #10b981;
        font-size: 1.1rem;
    }
    
    /* ========================================
       4. MOBILE MENU TOGGLE
       ======================================== */
    .grabb-mobile-toggle {
        display: none;
        background: transparent;
        border: none;
        padding: 8px;
        cursor: pointer;
        font-size: 1.5rem;
        color: #212529;
        transition: all 0.3s ease;
    }
    
    .grabb-mobile-toggle:hover {
        color: #10b981;
    }
    
    /* Mobile menu dropdown */
    .grabb-mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        max-width: 400px;
        height: 100%;
        background: white;
        z-index: 9999;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
    }
    
    .grabb-mobile-menu.active {
        transform: translateX(0);
    }
    
    .grabb-mobile-menu-content {
        padding: 80px 20px 20px 20px;
        min-height: 100vh;
    }
    
    /* Mobile menu backdrop */
    .grabb-mobile-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease-in-out;
    }
    
    .grabb-mobile-backdrop.active {
        opacity: 1;
        pointer-events: auto;
    }
    
    .grabb-mobile-location {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 15px;
        background: #f0fdf4;
        border: 1px solid #10b981;
        border-radius: 8px;
        margin-bottom: 20px;
    }
    
    .grabb-mobile-location i {
        color: #10b981;
        font-size: 1.2rem;
    }
    
    .grabb-mobile-location span {
        flex: 1;
        color: #495057;
        font-size: 0.9rem;
    }
    
    .grabb-mobile-location strong {
        color: #10b981;
    }
    
    .grabb-change-location {
        background: #10b981;
        color: white;
        border: none;
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 0.85rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .grabb-change-location:hover {
        background: #059669;
    }
    
    .grabb-mobile-search {
        margin-bottom: 20px;
    }
    
    .grabb-mobile-search-form {
        display: flex;
        align-items: center;
        background: #f8f9fa;
        border: 2px solid #e9ecef;
        border-radius: 50px;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .grabb-mobile-search-form:focus-within {
        border-color: #10b981;
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
        background: white;
    }
    
    .grabb-mobile-search-input {
        flex: 1;
        border: none;
        background: transparent;
        padding: 12px 20px;
        font-size: 0.9rem;
        font-family: 'Plus Jakarta Sans', sans-serif;
        color: #212529;
        outline: none;
    }
    
    .grabb-mobile-search-input::placeholder {
        color: #9ca3af;
    }
    
    .grabb-mobile-search-button {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        border: none;
        padding: 12px 20px;
        color: white;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .grabb-mobile-search-button:hover {
        background: linear-gradient(135deg, #059669 0%, #047857 100%);
    }
    
    .grabb-mobile-search-button i {
        font-size: 1.1rem;
    }
    
    .grabb-mobile-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .grabb-mobile-links li {
        border-bottom: 1px solid #f8f9fa;
    }
    
    .grabb-mobile-links li a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 15px 0;
        color: #212529;
        text-decoration: none;
        font-weight: 500;
    }
    
    .grabb-mobile-links li a i {
        color: #10b981;
        width: 20px;
        text-align: center;
    }
    
    .grabb-mobile-links li a:hover {
        color: #10b981;
    }
    
    .grabb-mobile-downloads {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #e9ecef;
        text-align: center;
    }
    
    .grabb-mobile-downloads-title {
        font-size: 0.85rem;
        font-weight: 600;
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 15px;
    }
    
    .grabb-mobile-download-icons {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }
    
    .grabb-mobile-download-icons a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        background: #f8f9fa;
        border-radius: 12px;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .grabb-mobile-download-icons a[title*="App Store"] {
        color: #000000;
    }
    
    .grabb-mobile-download-icons a[title*="App Store"]:hover {
        background: #000000;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    .grabb-mobile-download-icons a[title*="Play Store"]:hover {
        background: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .grabb-mobile-download-icons svg {
        width: 28px;
        height: 28px;
    }
    
    .grabb-mobile-actions {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #e9ecef;
        display: flex;
        gap: 10px;
    }
    
    .grabb-mobile-actions .grabb-btn {
        flex: 1;
        text-align: center;
        padding: 14px;
        font-size: 0.95rem;
        font-weight: 700;
    }
    
    .grabb-mobile-phone {
        margin-top: 15px;
        text-align: center;
        padding: 12px;
        background: #f8f9fa;
        border-radius: 8px;
        color: #10b981;
        font-weight: 600;
    }
    
    .grabb-mobile-phone i {
        margin-right: 8px;
    }
    
    /* ========================================
       5. RESPONSIVE DESIGN
       ======================================== */
    @media (max-width: 1200px) {
        .grabb-main-header-inner {
            grid-template-columns: 160px 1fr auto;
            gap: 20px;
        }
        
        .grabb-menu {
            gap: 2px;
        }
        
        .grabb-menu li a {
            padding: 8px 14px;
            font-size: 0.9rem;
        }
        
        .grabb-download-icons a {
            width: 36px;
            height: 36px;
        }
        
        .grabb-download-icons svg {
            width: 20px;
            height: 20px;
        }
    }
    
    @media (max-width: 992px) {
        .grabb-main-header-inner {
            grid-template-columns: 140px 1fr;
        }
        
        .grabb-search-input {
            font-size: 0.85rem;
            padding: 12px 16px;
        }
        
        .grabb-download-icons a {
            width: 32px;
            height: 32px;
        }
        
        /* Hide desktop menu, show hamburger */
        .grabb-menu {
            display: none;
            position: absolute;
            top: 100%;
            right: 0;
            background: white;
            flex-direction: column;
            min-width: 250px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            border-radius: 0 0 12px 12px;
            overflow: hidden;
            margin-top: 8px;
        }
        
        .grabb-menu.active {
            display: flex;
        }
        
        .grabb-menu li a {
            padding: 14px 20px;
            border-radius: 0;
            border-bottom: 1px solid #f8f9fa;
        }
        
        .grabb-menu li:last-child a {
            border-bottom: none;
        }
        
        .grabb-mobile-toggle {
            display: block;
        }
        
        .grabb-navbar-inner {
            position: relative;
        }
        
        .grabb-phone {
            font-size: 0.85rem;
        }
    }
    
    @media (max-width: 768px) {
        body {
            padding-top: 0 !important;
        }
        
        /* Main header mobile layout - single row */
        .grabb-main-header {
            padding: 10px 0;
            position: sticky;
            top: 0;
            z-index: 10000;
            background: white;
        }
        
        .grabb-main-header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
        }
        
        /* Hide everything except logo, cart, and hamburger */
        .grabb-location-selector,
        .grabb-download-icons,
        .grabb-search-bar {
            display: none;
        }
        
        /* Hide only desktop Register/Login buttons, not mobile ones */
        .grabb-header-actions .grabb-btn {
            display: none;
        }
        
        /* Logo on left */
        .grabb-logo {
            order: 1;
            padding-left: 0;
        }
        
        .grabb-logo-img {
            height: 35px;
        }
        
        .grabb-logo-text {
            font-size: 1.5rem;
        }
        
        /* Cart in middle */
        .grabb-header-actions {
            order: 2;
            flex: 1;
            justify-content: flex-end;
            gap: 10px;
        }
        
        .grabb-cart {
            padding: 8px 12px;
            font-size: 0.85rem;
        }
        
        .grabb-cart-price {
            display: none;
        }
        
        /* Hamburger on right */
        .grabb-mobile-toggle {
            display: block;
            order: 3;
            padding: 8px 12px;
            font-size: 1.3rem;
        }
        
        /* Navigation bar - hide completely, content moved to hamburger */
        .grabb-navbar {
            display: none !important;
        }
        
        .grabb-navbar-inner,
        .grabb-categories-btn,
        .grabb-menu,
        .grabb-phone {
            display: none !important;
        }
    }
    
    @media (max-width: 576px) {
        .grabb-logo-img {
            height: 30px;
        }
        
        .grabb-cart-icon i {
            font-size: 1.3rem;
        }
    }
    /* Unified mobile/tablet header: apply mobile layout up to 1024px
       This prevents logo stretching and makes tablet match mobile view */
    @media (max-width: 1024px) {
        .grabb-main-header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            grid-template-columns: none !important;
        }
        /* Logo sizing and containment to avoid elongation */
        .grabb-logo {
            padding-left: 0;
            order: 1;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .grabb-logo img,
        .grabb-logo .custom-logo,
        .grabb-logo img.custom-logo,
        img.custom-logo,
        .grabb-logo-img {
            max-height: 54px;
            height: auto !important;
            width: auto !important;
            object-fit: contain;
            display: block;
        }
        /* Hide desktop-only elements and show hamburger */
        .grabb-search-bar,
        .grabb-location-selector,
        .grabb-download-icons,
        .grabb-menu,
        .grabb-navbar {
            display: none !important;
        }
        .grabb-mobile-toggle {
            display: block !important;
            order: 3;
        }
        /* Header actions (cart / account) on right */
        .grabb-header-actions {
            order: 2;
            margin-left: auto;
            gap: 8px;
        }
        /* Simplify some paddings on tablets */
        .grabb-main-header {
            padding: 12px 0;
        }
        .grabb-cart-price { display: none; }
        /* Make categories button less prominent on tablet */
        .grabb-categories-btn { margin-left: 0; padding: 10px 12px; }
        /* Hide phone display in nav area (mobile shows phone in drawer) */
        .grabb-phone { display: none !important; }
    }
    
    /* ========================================
       TOAST NOTIFICATION STYLES
       ======================================== */
    .grabb-cart-toast {
        position: fixed;
        top: 100px;
        right: 20px;
        background: white;
        border: 2px solid #10b981;
        border-left: 6px solid #10b981;
        border-radius: 12px;
        padding: 18px 22px;
        display: flex;
        align-items: center;
        gap: 14px;
        box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3), 0 0 0 1px rgba(16, 185, 129, 0.1);
        z-index: 99999;
        min-width: 320px;
        max-width: 420px;
        transform: translateX(500px);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }
    
    .grabb-cart-toast.show {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .grabb-toast-icon {
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: successPulse 0.6s ease-out;
    }
    
    @keyframes successPulse {
        0% {
            transform: scale(0.8);
            opacity: 0;
        }
        50% {
            transform: scale(1.1);
        }
        100% {
            transform: scale(1);
            opacity: 1;
        }
    }
    
    .grabb-toast-icon i {
        color: white;
        font-size: 22px;
    }
    
    .grabb-toast-content {
        flex: 1;
    }
    
    .grabb-toast-title {
        font-weight: 800;
        font-size: 16px;
        color: #10b981;
        margin-bottom: 4px;
        letter-spacing: -0.2px;
    }
    
    .grabb-toast-message {
        font-size: 14px;
        color: #4b5563;
        line-height: 1.4;
        font-weight: 500;
    }
    
    @media (max-width: 768px) {
        .grabb-cart-toast {
            top: 70px;
            right: 15px;
            left: 15px;
            min-width: auto;
            max-width: none;
            padding: 16px 18px;
        }
        
        .grabb-toast-icon {
            width: 40px;
            height: 40px;
        }
        
        .grabb-toast-icon i {
            font-size: 20px;
        }
        
        .grabb-toast-title {
            font-size: 15px;
        }
        
        .grabb-toast-message {
            font-size: 13px;
        }
    }
</style>
<div class="grabb-main-header">
    <div class="grabb-container">
        <div class="grabb-main-header-inner">
            
            <div class="grabb-logo">
                <a href="https://grabblivestock.com/">
                    <a href="https://grabblivestock.com/" class="custom-logo-link" rel="home"><img width="1050" height="350" src="https://grabblivestock.com/kadustee/2025/12/cropped-Photo-from-Pascal-🖤-1-e1766528048259-120x40.jpg" class="custom-logo" alt="Grabb Livestock" decoding="async" fetchpriority="high" srcset="https://grabblivestock.com/kadustee/2025/12/cropped-Photo-from-Pascal-🖤-1-e1766528048259.jpg 1050w, https://grabblivestock.com/kadustee/2025/12/cropped-Photo-from-Pascal-🖤-1-e1766528048259-300x100.jpg 300w, https://grabblivestock.com/kadustee/2025/12/cropped-Photo-from-Pascal-🖤-1-e1766528048259-1024x341.jpg 1024w, https://grabblivestock.com/kadustee/2025/12/cropped-Photo-from-Pascal-🖤-1-e1766528048259-768x256.jpg 768w, https://grabblivestock.com/kadustee/2025/12/cropped-Photo-from-Pascal-🖤-1-e1766528048259-80x27.jpg 80w, https://grabblivestock.com/kadustee/2025/12/cropped-Photo-from-Pascal-🖤-1-e1766528048259-600x200.jpg 600w, https://grabblivestock.com/kadustee/2025/12/cropped-Photo-from-Pascal-🖤-1-e1766528048259-120x40.jpg 120w" sizes="(max-width: 1050px) 100vw, 1050px" /></a>                </a>
            </div>
            
            
            <div class="grabb-search-bar">
                <form class="grabb-search-form" role="search" method="get" action="https://grabblivestock.com/">
                    
                    <div class="grabb-location-selector" onclick="openLocationModal()">
                        <i class="fas fa-map-marker-alt"></i>
                        <span>Select Location</span>
                        <i class="fas fa-chevron-down" style="font-size: 0.8rem; margin-left: 4px;"></i>
                    </div>
                    
                    
                    <div class="grabb-search-divider"></div>
                    
                    
                    <input type="search" 
                           class="grabb-search-input" 
                           name="s" 
                           placeholder="Search for livestock..."
                           value="">
                    <input type="hidden" name="post_type" value="product">
                    
                    
                    <button type="submit" class="grabb-search-button">
                        <i class="fas fa-search"></i>
                    </button>
                </form>
            </div>
            
            
            <div class="grabb-header-actions">
                
                                <a href="https://grabblivestock.com/cart/" class="grabb-cart">
                    <div class="grabb-cart-icon">
                        <i class="fas fa-shopping-cart"></i>
                                                <span class="grabb-cart-count">0</span>
                                            </div>
                                        <span class="grabb-cart-price">₦0.00</span>
                                    </a>
                                
                
                                    <a href="https://grabblivestock.com/securelogin?action=register" class="grabb-btn grabb-btn-register">Register</a>
                    <a href="https://grabblivestock.com/securelogin" class="grabb-btn grabb-btn-login">Login</a>
                                
                
                <div class="grabb-download-icons">
                    <a href="#" title="Download on App Store">
                        <svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor">
                            <path d="M18.71 19.5C17.88 20.74 17 21.95 15.66 21.97C14.32 22 13.89 21.18 12.37 21.18C10.84 21.18 10.37 21.95 9.09997 22C7.78997 22.05 6.79997 20.68 5.95997 19.47C4.24997 17 2.93997 12.45 4.69997 9.39C5.56997 7.87 7.12997 6.91 8.81997 6.88C10.1 6.86 11.32 7.75 12.11 7.75C12.89 7.75 14.37 6.68 15.92 6.84C16.57 6.87 18.39 7.1 19.56 8.82C19.47 8.88 17.39 10.1 17.41 12.63C17.44 15.65 20.06 16.66 20.09 16.67C20.06 16.74 19.67 18.11 18.71 19.5ZM13 3.5C13.73 2.67 14.94 2.04 15.94 2C16.07 3.17 15.6 4.35 14.9 5.19C14.21 6.04 13.07 6.7 11.95 6.61C11.8 5.46 12.36 4.26 13 3.5Z"/>
                        </svg>
                    </a>
                    <a href="#" title="Get it on Play Store">
                        <svg width="24" height="24" viewBox="0 0 24 24" fill="none">
                            <path d="M3 20.5V3.5C3 2.91 3.34 2.39 3.84 2.15L13.69 12L3.84 21.85C3.34 21.6 3 21.09 3 20.5Z" fill="#00D95F"/>
                            <path d="M16.81 15.12L6.05 21.34L14.54 12.85L16.81 15.12Z" fill="#FFCE00"/>
                            <path d="M3.84 2.15C4.25 1.94 4.75 1.97 5.16 2.24L16.81 8.88L14.54 11.15L3.84 2.15Z" fill="#00A6F9"/>
                            <path d="M16.81 8.88L5.16 2.24C4.75 1.97 4.25 1.94 3.84 2.15L14.54 11.15L16.81 8.88Z" fill="#FF3A44"/>
                            <path d="M16.81 15.12L14.54 12.85L16.81 8.88L19.69 10.5C20.41 10.9 20.41 11.95 19.69 12.35L16.81 15.12Z" fill="#FFCE00"/>
                        </svg>
                    </a>
                </div>
                
                
                <button class="grabb-mobile-toggle" onclick="toggleMobileMenu(); return false;">
                    <i class="fas fa-bars"></i>
                </button>
            </div>
        </div>
    </div>
</div>
<div class="grabb-mobile-backdrop" id="grabb-mobile-backdrop" onclick="closeMobileMenu()"></div>
<div class="grabb-mobile-menu" id="grabb-mobile-menu">
    <div class="grabb-mobile-menu-content">
        
        <button onclick="closeMobileMenu()" style="position: absolute; top: 15px; right: 15px; background: transparent; border: none; font-size: 1.8rem; color: #212529; cursor: pointer; padding: 8px; z-index: 10;">
            <i class="fas fa-times"></i>
        </button>
        
        
        <div class="grabb-mobile-location">
            <i class="fas fa-map-marker-alt"></i>
            <span>Delivering to: <strong>Select Location</strong></span>
            <button class="grabb-change-location" onclick="openLocationModal()">Change</button>
        </div>
        
        
        <div class="grabb-mobile-search">
            <form class="grabb-mobile-search-form" role="search" method="get" action="https://grabblivestock.com/">
                <input type="search" 
                       class="grabb-mobile-search-input" 
                       name="s" 
                       placeholder="Search for products..."
                       value="">
                <input type="hidden" name="post_type" value="product">
                <button type="submit" class="grabb-mobile-search-button">
                    <i class="fas fa-search"></i>
                </button>
            </form>
        </div>
        
        
        <ul class="grabb-mobile-links"><li id="menu-item-4781" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-home menu-item-4781"><a href="https://grabblivestock.com/" class="menu-link">Home</a></li>
<li id="menu-item-10238" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-10238"><a href="https://grabblivestock.com/about/" class="menu-link">About Us</a></li>
<li id="menu-item-10367" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-10367"><a href="https://grabblivestock.com/impact/" class="menu-link">Impact</a></li>
<li id="menu-item-10239" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-10239"><a href="https://grabblivestock.com/contact-us/" class="menu-link">Contact Us</a></li>
<li id="menu-item-4499" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4499"><a href="https://grabblivestock.com/faqs/" class="menu-link">FAQS</a></li>
</ul>        
        
        <div class="grabb-mobile-downloads">
            <div class="grabb-mobile-downloads-title">Download Our App</div>
            <div class="grabb-mobile-download-icons">
                <a href="#" title="Download on App Store">
                    <svg width="28" height="28" viewBox="0 0 24 24" fill="currentColor">
                        <path d="M18.71 19.5C17.88 20.74 17 21.95 15.66 21.97C14.32 22 13.89 21.18 12.37 21.18C10.84 21.18 10.37 21.95 9.09997 22C7.78997 22.05 6.79997 20.68 5.95997 19.47C4.24997 17 2.93997 12.45 4.69997 9.39C5.56997 7.87 7.12997 6.91 8.81997 6.88C10.1 6.86 11.32 7.75 12.11 7.75C12.89 7.75 14.37 6.68 15.92 6.84C16.57 6.87 18.39 7.1 19.56 8.82C19.47 8.88 17.39 10.1 17.41 12.63C17.44 15.65 20.06 16.66 20.09 16.67C20.06 16.74 19.67 18.11 18.71 19.5ZM13 3.5C13.73 2.67 14.94 2.04 15.94 2C16.07 3.17 15.6 4.35 14.9 5.19C14.21 6.04 13.07 6.7 11.95 6.61C11.8 5.46 12.36 4.26 13 3.5Z"/>
                    </svg>
                </a>
                <a href="#" title="Get it on Play Store">
                    <svg width="28" height="28" viewBox="0 0 24 24" fill="none">
                        <path d="M3 20.5V3.5C3 2.91 3.34 2.39 3.84 2.15L13.69 12L3.84 21.85C3.34 21.6 3 21.09 3 20.5Z" fill="#00D95F"/>
                        <path d="M16.81 15.12L6.05 21.34L14.54 12.85L16.81 15.12Z" fill="#FFCE00"/>
                        <path d="M3.84 2.15C4.25 1.94 4.75 1.97 5.16 2.24L16.81 8.88L14.54 11.15L3.84 2.15Z" fill="#00A6F9"/>
                        <path d="M16.81 8.88L5.16 2.24C4.75 1.97 4.25 1.94 3.84 2.15L14.54 11.15L16.81 8.88Z" fill="#FF3A44"/>
                        <path d="M16.81 15.12L14.54 12.85L16.81 8.88L19.69 10.5C20.41 10.9 20.41 11.95 19.69 12.35L16.81 15.12Z" fill="#FFCE00"/>
                    </svg>
                </a>
            </div>
        </div>
        
        
                <div class="grabb-mobile-actions">
            <a href="https://grabblivestock.com/securelogin?action=register" class="grabb-btn grabb-btn-register">Register</a>
            <a href="https://grabblivestock.com/securelogin" class="grabb-btn grabb-btn-login">Login</a>
        </div>
                
        
        <div class="grabb-mobile-phone">
            <i class="fas fa-phone-alt"></i>
            +234 706 909 4054        </div>
    </div>
</div>
<div class="grabb-navbar" id="grabb-navbar">
    <div class="grabb-container">
        <div class="grabb-navbar-inner">
             
            <a href="https://grabblivestock.com/home/shop/" class="grabb-categories-btn">
                <i class="fas fa-th-large"></i>
                <span>Categories</span>
                <i class="fas fa-chevron-down" style="font-size: 0.9rem;"></i>
            </a>
            
            
            <ul id="grabb-menu" class="grabb-menu"><li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-home menu-item-4781"><a href="https://grabblivestock.com/" class="menu-link">Home</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-10238"><a href="https://grabblivestock.com/about/" class="menu-link">About Us</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-10367"><a href="https://grabblivestock.com/impact/" class="menu-link">Impact</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-10239"><a href="https://grabblivestock.com/contact-us/" class="menu-link">Contact Us</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4499"><a href="https://grabblivestock.com/faqs/" class="menu-link">FAQS</a></li>
</ul>            
            
            <div class="grabb-phone">
                <i class="fas fa-phone-alt"></i>
                <span>+234 706 909 4054</span>
            </div>
        </div>
    </div>
</div>
<script>
    // Add icons to menu items based on text
    function addMenuIcons() {
        // Icon mapping
        const iconMap = {
            'home': 'fa-home',
            'shop': 'fa-shopping-bag',
            'browse': 'fa-shopping-bag',
            'categor': 'fa-th-large',
            'impact': 'fa-hand-holding-heart',
            'about': 'fa-users',
            'contact': 'fa-envelope',
            'faq': 'fa-question-circle'
        };
        
        // Get all menu links (desktop and mobile)
        const menuLinks = document.querySelectorAll('.grabb-menu a, .grabb-mobile-links a');
        
        console.log('🔍 DEBUG: Found', menuLinks.length, 'total menu links'); // Debug
        
        menuLinks.forEach((link, index) => {
            // Skip if icon already exists
            if (link.querySelector('i.fas')) {
                console.log('⏭️ Skipping link', index, '- icon already exists'); // Debug
                return;
            }
            
            const text = link.textContent.toLowerCase().trim();
            console.log('📝 Processing link', index, '- Text:', text); // Debug
            
            let iconClass = 'fa-circle'; // default
            let matchedKeyword = 'none';
            
            // Find matching icon
            for (const [keyword, icon] of Object.entries(iconMap)) {
                if (text.includes(keyword)) {
                    iconClass = icon;
                    matchedKeyword = keyword;
                    console.log('✅ MATCH! Text:', text, '| Keyword:', keyword, '| Icon:', icon); // Debug
                    break;
                }
            }
            
            if (matchedKeyword === 'none') {
                console.log('⚠️ No match found for:', text, '- using default icon'); // Debug
            }
            
            // Create icon element
            const iconElement = document.createElement('i');
            iconElement.className = `fas ${iconClass}`;
            iconElement.style.marginRight = '8px';
            
            // Insert icon at the beginning of the link
            link.insertBefore(iconElement, link.firstChild);
        });
        
        console.log('✨ Icon injection complete!'); // Debug
    }
    
    // Run after page loads
    document.addEventListener('DOMContentLoaded', addMenuIcons);
    
    // Toggle Mobile Menu
    function toggleMobileMenu() {
        const mobileMenu = document.getElementById('grabb-mobile-menu');
        const backdrop = document.getElementById('grabb-mobile-backdrop');
        const toggle = document.querySelector('.grabb-mobile-toggle');
        
        if (mobileMenu.classList.contains('active')) {
            closeMobileMenu();
        } else {
            mobileMenu.classList.add('active');
            backdrop.classList.add('active');
            toggle.innerHTML = '<i class="fas fa-times"></i>';
            document.body.style.overflow = 'hidden'; // Prevent body scroll
            
            console.log('🍔 Mobile menu opened - re-running icon injection...'); // Debug
            
            // Add icons to mobile menu when it opens
            setTimeout(() => {
                addMenuIcons();
            }, 100);
        }
    }
    
    // Close Mobile Menu
    function closeMobileMenu() {
        const mobileMenu = document.getElementById('grabb-mobile-menu');
        const backdrop = document.getElementById('grabb-mobile-backdrop');
        const toggle = document.querySelector('.grabb-mobile-toggle');
        
        mobileMenu.classList.remove('active');
        backdrop.classList.remove('active');
        toggle.innerHTML = '<i class="fas fa-bars"></i>';
        document.body.style.overflow = ''; // Restore body scroll
    }
    
    // Swipe detection for mobile menu
    let touchStartX = 0;
    let touchEndX = 0;
    
    document.addEventListener('DOMContentLoaded', function() {
        const mobileMenu = document.getElementById('grabb-mobile-menu');
        
        mobileMenu.addEventListener('touchstart', function(e) {
            touchStartX = e.changedTouches[0].screenX;
        });
        
        mobileMenu.addEventListener('touchend', function(e) {
            touchEndX = e.changedTouches[0].screenX;
            handleSwipe();
        });
        
        function handleSwipe() {
            // Swipe left to close (at least 50px)
            if (touchEndX < touchStartX - 50) {
                closeMobileMenu();
            }
        }
    });
    // Close mobile menu when clicking outside (removed, backdrop handles this now)
    // Keeping ESC key support
    document.addEventListener('keydown', function(event) {
        if (event.key === 'Escape') {
            const mobileMenu = document.getElementById('grabb-mobile-menu');
            if (mobileMenu && mobileMenu.classList.contains('active')) {
                closeMobileMenu();
            }
        }
    });
    
    // Open Location Modal (integrates with grabb-location-modal.php)
    function openLocationModal() {
        console.log('📍 Opening location modal...'); // Debug
        
        // Use correct modal ID from grabb-location-modal.php
        const locationOverlay = document.getElementById('grabbLocationOverlay');
        const stateSelect = document.getElementById('grabbStateSelect');
        
        if (locationOverlay) {
            console.log('✅ Modal found, showing it'); // Debug
            
            // Pre-select current location if available
            const currentLocation = getCookie('grabb_user_state');
            if (currentLocation && stateSelect) {
                stateSelect.value = currentLocation;
                document.getElementById('grabbLocationSubmit').disabled = false;
            }
            
            locationOverlay.classList.add('active');
            document.body.style.overflow = 'hidden';
        } else {
            console.error('❌ Location modal not found in DOM');
        }
    }
    
    // Helper function to get cookie value
    function getCookie(name) {
        const value = `; ${document.cookie}`;
        const parts = value.split(`; ${name}=`);
        if (parts.length === 2) return parts.pop().split(';').shift();
        return null;
    }
    
    // =================================================================
    // AJAX CART UPDATE - Moved to grabb-header-functions.php
    // =================================================================
    
    // Cart notification JavaScript is now properly enqueued in grabb-header-functions.php
    // This ensures jQuery loads before the script runs
    
    // =================================================================
    // TOAST NOTIFICATION - Visual feedback when adding to cart
    // =================================================================
    
    function showCartNotification(productName) {
        console.log('🎉 showCartNotification called');
        console.log('📦 Product name to display:', productName);
        
        // Remove any existing toasts first
        const existingToasts = document.querySelectorAll('.grabb-cart-toast');
        existingToasts.forEach(toast => toast.remove());
        
        // Create toast element
        const toast = document.createElement('div');
        toast.className = 'grabb-cart-toast';
        toast.innerHTML = `
            <div class="grabb-toast-icon">
                <i class="fas fa-check-circle"></i>
            </div>
            <div class="grabb-toast-content">
                <div class="grabb-toast-title">✓ Added to Cart!</div>
                <div class="grabb-toast-message">${productName}</div>
            </div>
        `;
        
        // Add to body
        document.body.appendChild(toast);
        console.log('✅ Toast added to DOM');
        
        // Trigger animation
        setTimeout(() => {
            toast.classList.add('show');
            console.log('🎬 Animation triggered');
        }, 10);
        
        // Remove after 4 seconds
        setTimeout(() => {
            toast.classList.remove('show');
            setTimeout(() => {
                toast.remove();
                console.log('🗑️ Toast removed');
            }, 300);
        }, 4000);
    }
    
    // Check if jQuery is loaded (for debugging)
    document.addEventListener('DOMContentLoaded', function() {
        if (typeof jQuery === 'undefined') {
            console.error('❌ jQuery not loaded yet at DOMContentLoaded');
        } else {
            console.log('✅ jQuery available:', jQuery.fn.jquery);
        }
    });
</script><?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//grabblivestock.com/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://grabblivestock.com/post-sitemap.xml</loc>
		<lastmod>2025-11-15T15:43:41+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://grabblivestock.com/page-sitemap.xml</loc>
		<lastmod>2025-12-23T16:18:40+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://grabblivestock.com/product-sitemap1.xml</loc>
		<lastmod>2025-10-28T20:35:20+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://grabblivestock.com/product-sitemap2.xml</loc>
		<lastmod>2025-10-28T20:35:20+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://grabblivestock.com/category-sitemap.xml</loc>
		<lastmod>2025-11-15T15:43:41+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://grabblivestock.com/product_cat-sitemap.xml</loc>
		<lastmod>2025-10-28T20:35:20+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://grabblivestock.com/store_category-sitemap.xml</loc>
	</sitemap>
	<sitemap>
		<loc>https://grabblivestock.com/author-sitemap.xml</loc>
		<lastmod>2025-12-23T16:18:40+00:00</lastmod>
	</sitemap>
</sitemapindex>
