
/* test notification */
.notification {
          position: fixed;
          top: 20px;
          right: 20px;
          background-color: #2ecc71;
          color: white;
          padding: 10px 15px;
          border-radius: 5px;
          box-shadow: 0 2px 10px rgba(0,0,0,0.2);
          transform: translateX(150%);
          transition: transform 0.3s ease;
          z-index: 1001;
      }

.notification.show {
          transform: translateX(0);
      }

/* Bottom Navigation - Hidden by default on desktop */
.bottom-nav {
    position: fixed;
    /* position: sticky; */
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 5100 !important;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.bottom-nav.mobile-visible {
            transform: translateY(0);
        }
.nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: #666;
            flex: 1;
            padding: 8px 0;
            transition: all 0.3s ease;
            position: relative;
        }

.nav-item.active {
    color: #3498db;
}

.nav-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-label {
    font-size: 12px;
    font-weight: 500;
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -2px;
    right: 20%;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    animation: pulse 2s infinite;
}
/* Search Panel */
.search-panel {
    position: fixed;
    bottom: 70px;
    left: 0;
    right: 0;
    background-color: white;
    padding: 15px;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 5100 !important;
}
.search-panel.active {
            transform: translateY(0);
        }

.search-box {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 25px;
    padding: 10px 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 12px;
    font-size: 16px;
    outline: none;
}

.search-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    padding: 5px;
    margin-left: 10px;
}

.search-results {
    margin-top: 15px;
    max-height: 200px;
    overflow-y: auto;
}

.search-result-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1001 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Desktop styles */
    @media (min-width: 768px) {
        .desktop-nav {
            display: block;
        }

        .bottom-nav {
            max-width: 400px;
            left: 50%;
            transform: translateX(-50%) translateY(100%);
            border-radius: 20px 20px 0 0;
            box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
        }

        .bottom-nav.mobile-visible {
            transform: translateX(-50%) translateY(0);
        }

        .search-panel {
            max-width: 400px;
            left: 50%;
            transform: translateX(-50%) translateY(100%);
            border-radius: 15px 15px 0 0;
        }

        .search-panel.active {
            transform: translateX(-50%) translateY(0);
        }
    }

    /* Mobile styles */
    @media (max-width: 767px) {
        body {
            padding-bottom: 70px; /* Space for the bottom nav on mobile */
        }

        .bottom-nav.mobile-visible {
            transform: translateY(0);
        }
    }
