 
 .app-container {
            max-width: 440px;
            width: 100vw;
            min-height: 100vh;
            background: #f8f9fa;
            position: relative;
            box-shadow: 0 0 30px rgba(0,0,0,0.3);
            overflow-x: hidden;
            margin: 0 auto;
        }

        

         

        @keyframes headerFloat {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(180deg); }
        }

        

        .back-btn {
            background: rgba(255,255,255,0.2);
            backdrop-filter: blur(10px);
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 16px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .back-btn:hover {
            background: rgba(255,255,255,0.3);
            transform: scale(1.05);
        }

        .header-title {
            font-size: 20px;
            font-weight: 700;
            color: white;
            letter-spacing: -0.5px;
            flex: 1;
            text-align: center;
        }

        .more-btn {
            background: rgba(255,255,255,0.2);
            backdrop-filter: blur(10px);
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 16px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .more-btn:hover {
            background: rgba(255,255,255,0.3);
            transform: scale(1.05);
        }



* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            overflow-x: hidden;
        }

        /* Mobile App Container */
        .app-container {
            max-width: 440px;
            margin: 0 auto;
            background: #f8f9fa;
            min-height: 100vh;
            position: relative;
            box-shadow: 0 0 30px rgba(0,0,0,0.3);
        }

        /* Status Bar */
        .status-bar {
            background: #000;
            color: white;
            padding: 8px 20px;
            display: flex;
            justify-content: space-between;
            font-size: 14px;
            font-weight: 500;
        }

        /* App Header */
        .app-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 20px 20px 30px 20px;
            position: relative;
            overflow: hidden;
        }

        /* .app-header::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            animation: float 6s ease-in-out infinite;
        } */

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(180deg); }
        }

        .header-content {
            position: relative;
            z-index: 2;
        }

        .greeting {
            font-size: 16px;
            margin-bottom: 5px;
            opacity: 0.9;
        }

        .user-name {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 0px;
        }

        .location {
            display: flex;
            align-items: center;
            font-size: 14px;
            opacity: 0.8;
        }

        .location i {
            margin-right: 8px;
            color: #ff6b35;
        }

        /* Search Bar */
        .search-container {
            padding: 20px 20px 0px 20px;
            position: relative;
            top: -35px;
        }

        .search-box {
            background: white;
            border-radius: 25px;
            padding: 15px 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
        }

        .search-box:focus-within {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }

        .search-box input {
            border: none;
            outline: none;
            flex: 1;
            font-size: 16px;
            margin-left: 15px;
            width: 100%;
        }

        .search-box i {
            color: #667eea;
            font-size: 18px;
        }

        
        /* Categories Section */
        .categories-section {
            padding: 0 10px 20px;
        }

        .section-title {
            font-size: 18px;
            font-weight: 700;
            color: #333;
            margin-bottom: 0px;
            display: flex;
            align-items: center;
        }

        
         .section-subtitle {
            font-size: 14px;
            color: #666;
            font-weight: 400;
        }

        .categories-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
            margin-bottom: 0px;
        }

        .category-item {
            /* background: white;
            border-radius: 10px;
            padding: 0px 0px 10px 0px;
            text-align: center;
            box-shadow: 0 8px 25px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden; */
            text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 15px;
    overflow: hidden;
        }

        .category-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
            transition: all 0.5s;
        }

        .category-item:hover::before {
            left: 100%;
        }

        .category-item:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        }

        .category-image {
    /* width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 0px;
    margin: 0 auto 5px; */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

        .category-name {
            font-size: 12px;
            font-weight: 600;
            color: #333;
        }
 
        /* Products Section */
        .products-section {
            padding: 0 10px 30px;
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
        }

        
        /* Bottom Navigation */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 440px;
            background: white;
            padding: 15px 0 15px;
            box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
            z-index: 1000;
        }

        .nav-items {
            display: flex;
            justify-content: space-around;
            align-items: center;
        }

        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: #999;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-item.active {
            color: #667eea;
        }

        .nav-item i {
            font-size: 24px;
            margin-bottom: 5px;
            transition: all 0.3s ease;
        }

        .nav-item.active i {
            transform: scale(1.2);
        }

        .nav-item span {
            font-size: 12px;
            font-weight: 600;
        }

        .cart-badge {
            position: absolute;
            top: -5px;
            right: -8px;
            background: #ff6b35;
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 600;
        }

        /* Animations */
        .fade-in {
            animation: fadeIn 0.8s ease-out;
        }

        .slide-up {
            animation: slideUp 0.8s ease-out;
        }

        .bounce-in {
            animation: bounceIn 1s ease-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideUp {
            from { transform: translateY(50px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        @keyframes bounceIn {
            0% { transform: scale(0.3); opacity: 0; }
            50% { transform: scale(1.05); }
            70% { transform: scale(0.9); }
            100% { transform: scale(1); opacity: 1; }
        }

        /* Pulse Animation */
        .pulse {
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        /* Loading Animation */
        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255,255,255,.3);
            border-radius: 50%;
            border-top-color: #fff;
            animation: spin 1s ease-in-out infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }  
  
  
  
  
  /* extra css addd */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  a{
    text-decoration: none;
  }
  .product-card {
            background: white;
            border-radius: 4px;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            transition: all 0.2s;
            position: relative;
            height: auto;
        }

          .product-card:hover {
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        .div-productsection{
            padding: 0 10px 20px;
        }
        .products-swiper{
            padding:0px 0px 20px 0px;
        }

        .discount-badge {
           position: absolute;
    top: 3px;
    left: 3px;
    background: #22c55e;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 8px;
    font-weight: 500;
    z-index: 2;
        }

        .product-image {
            width: 100%;
            height: 90px;
            object-fit: cover;
            display: block;
        }

        .product-content {
            padding: 10px;
            position: relative;
        }

        .product-badge {
            position: absolute;
            top: -90px;
            left: 16px;
            background: rgba(0,0,0,0.7);
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 11px;
            font-weight: 500;
        }

         .add-button {
            position: absolute;
            top: 10px;
            right: 6px;
            background: white;
            border: 2px solid #22c55e;
            border-radius: 6px;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 16px;
            color: #22c55e;
            font-weight: 300;
            transition: all 0.2s;
        }

        .add-button:hover {
            background: #22c55e;
            color: white;
        }

        .product-price {
            font-size: 15px;
            font-weight: 500;
            color: #1a1a1a;
            margin-bottom: 2px;
        }

        .product-original-price {
            font-size: 12px;
            color: #999;
            text-decoration: line-through;
            margin-bottom: 8px;
        }
        .cart-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: flex
;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

        .product-name {
            font-size: 13px;
            font-weight: 500;
            color: #1a1a1a;
            margin-bottom: 8px;
            line-height: 1.3;
            min-height: 30px;
            display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
        }

        .product-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 13px;
            color: #666;
        }
        .nav-button{
                    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex
;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #666;
    transition: all 0.2s;
        }
        .delivery-time {
            display: flex;
            align-items: center;
            gap: 4px;
        }

         .delivery-icon {
            font-size: 12px;
        }


        .section-header{
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            justify-content: space-between;
        }

        .header-top {
    display: flex
;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
        .header-icons {
    display: flex
;
    gap: 15px;
}
.header-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex
;
color: white;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.nav-badge {
    position: absolute;
    top: -2px;
    right: 0px;
    background: #ff6b35;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex
;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}

/* .categories-section  */

.category-section {
    margin-bottom: 12px;
}
.category-section .category-swiper{
    padding:0px 0px 15px 0px;
}
 
.category-swiper .swiper-slide {
    width: auto;
    height: auto;
}

 .category-card {
            background: white;
            border-radius: 12px;
            padding: 10px 10px;
            text-align: center;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            transition: all 0.2s;
            cursor: pointer;
            width: 100px;
            height: 140px;
            display: flex;
            flex-direction: column;
            align-items: center;
            /* justify-content: center; */
        }

        .category-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        .category-card .category-image {
            width: 100%;
            height: 85px;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 8px;
            display: block;
        }

        .category-name {
            font-size: 12px;
            font-weight: 500;
            color: #1a1a1a;
            line-height: 1.2;
            text-align: center;
            display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
        }

        /* Colored Background Categories */
        .fruits-bg {
            background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
        }

        .bakery-bg {
            background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
        }

        .breakfast-bg {
            background: linear-gradient(135deg, #ffe8e8, #fff0f0);
        }

        .category-grid {
    display: grid
;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.category-grid .category-card {
    
    width: 100%;
}



/* fav  */
 /* Header */
      



.quantity-controls {
    position: absolute;
    top: 10px;
    right: 0;
    display: flex
;
    align-items: center;
    background: #22c55e;
    border-radius: 25px;
    padding: 5px;
    gap: 10px;
}
.quantity-btn {
    width: 25px;
    height: 25px;
    background: white;
    color: #22c55e;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex
;
    align-items: center;
    justify-content: center;
}
.quantity-display {
    color: white;
    font-weight: bold;
    font-size: 14px;
    min-width: 20px;
    text-align: center;
}





/* Cart Summary */
        .cart-summary {
            position: fixed;
            bottom: 80px;
            left: 50%;
            transform: translateX(-50%);
            width: calc(100% - 40px);
            max-width: 390px;
            background: #22c55e;
            color: white;
            padding: 6px 15px;
            border-radius: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 999;
            box-shadow: 0 5px 20px rgba(255,107,53,0.3);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .cart-summary.show {
            opacity: 1;
            visibility: visible;
        }

        .cart-info {
            display: flex;
            flex-direction: column;
        }

        .cart-items-count {
            font-size: 14px;
            opacity: 0.9;
        }

        .cart-total {
            font-size: 15px;
            font-weight: bold;
        }

        .view-cart-btn {
            background: white;
            color: #22c55e;
            border: none;
            padding: 5px 15px;
    font-size: 14px;
            border-radius: 10px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .view-cart-btn:hover {
            transform: scale(1.05);
        }







@media (max-width: 480px) {
    .category-grid {
        gap: 8px;
    }
}
@media (max-width: 350px) {
    .category-image{
        height: 65px;
    }
}