body {
            font-family: Arial, sans-serif;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            background-color: #000000;
            color: #222;
        }
        
        header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        h1 {
            color: #ffffff;
        }

        h3 {
            color: #DCDCDC;
            text-align: center;
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 10px;
        }
        
        .product {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            transition: transform 0.2s ease;
        }
        
        .product:hover {
            transform: translateY(-5px);
        }
        
        .product-image {
            width: 100%;
            height: 180px;
            object-fit: cover;
            cursor: pointer;
        }
        
        .product-info {
            padding: 1px;
        }
        
        .product-title {
            font-weight: bold;
            margin-bottom: 5px;
            font-size: 14px;
        }
        
        .product-price {
            color: #e74c3c;
            font-weight: bold;
        }
        
        footer {
            text-align: center;
            margin-top: 40px;
            padding: 20px;
            font-size: 12px;
            color: #7f8c8d;
        }
        
        @media (max-width: 600px) {
            .products-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }















.search-container {
    max-width: 800px;
    margin: 30px auto;
    position: relative;
}

.search-box {
    display: flex;
    width: 100%;
}

#product-search {
    flex: 1;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 30px 0 0 30px;
    outline: none;
    transition: all 0.3s;
}

#product-search:focus {
    border-color: #4a6fa5;
}

#search-btn {
    padding: 0 25px;
    background-color: #4a6fa5;
    color: white;
    border: none;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s;
}

#search-btn:hover {
    background-color: #3a5a80;
}

#search-btn svg {
    width: 16px;
    height: 16px;
}

.suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
}

.suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

.suggestion-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.suggestion-info {
    flex: 1;
}

.suggestion-name {
    font-weight: 600;
    margin-bottom: 3px;
}

.suggestion-price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 14px;
}

.results-container {
    max-width: 1200px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 10px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 180px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-details {
    padding: 15px;
}

.product-title {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.product-price {
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 12px;
    font-size: 18px;
}

.buy-btn {
    display: block;
    text-align: center;
    background-color: #2ecc71;
    color: white;
    padding: 8px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.buy-btn:hover {
    background-color: #27ae60;
}

.no-results {
    text-align: center;
    grid-column: 1 / -1;
    color: #7f8c8d;
    padding: 30px;
}

@media (max-width: 768px) {
    .search-box {
        flex-direction: column;
    }
    
    #product-search {
        border-radius: 30px;
        margin-bottom: 10px;
    }
    
    #search-btn {
        border-radius: 30px;
        justify-content: center;
        padding: 15px;
    }
    
    .results-container {
        grid-template-columns: 1fr;
    }
}