переделай этот код с помощью bootstrap и используй все возможные подходящие функции
<!DOCTYPE html>
<html lang="ru">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Каталог товаров - Мир цветов</title>
    <!-- Подключаем Bootstrap 5 -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <!-- Шапка с навигацией -->
    <nav class="navbar navbar-expand-lg navbar-light bg-light fixed-top">
        <div class="container">
            <a class="navbar-brand" href="#">
                <img src="logo.png" alt="Логотип" class="logo-img">
                <span class="fw-bold text-success">Мир цветов</span>
            </a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav ms-auto">
                    <li class="nav-item"><a class="nav-link active" href="index.html">Главная</a></li>
                    <li class="nav-item"><a class="nav-link" href="tovar.html">Корзина</a></li>
                    <li class="nav-item"><a class="nav-link" href="avt.html">Авторизация</a></li>
                    <li class="nav-item"><a class="nav-link" href="reg.html">Регистрация</a></li>
                    <li class="nav-item"><a class="nav-link" href="lich.html">Личный кабинет</a></li>
                </ul>
            </div>
        </div>
    </nav>

    <!-- Основной контент -->
    <div class="container mt-5 pt-5">
        <!-- Фильтры и сортировка -->
        <div class="container mt-5 pt-5">
            <!-- Фильтры и сортировка -->
            <div class="row mb-4">
                <!-- Сортировка -->
                <div class="col-12 col-md-6">
                    <div class="input-group">
                        <span class="input-group-text">Сортировать по:</span>
                        <select class="form-select" id="sort">
                            <option value="newest">По новизне</option>
                            <option value="name_asc">А-Я</option>
                            <option value="name_desc">Я-А</option>
                            <option value="price_asc">Цена ↑</option>
                            <option value="price_desc">Цена ↓</option>
                        </select>
                    </div>
                </div>
        
                <!-- Фильтры -->
                <div class="col-12 col-md-6">
                    <div class="d-flex gap-3 flex-wrap justify-content-end">
                        <div class="form-check">
                            <input class="form-check-input" type="checkbox" value="flowers" id="filter-flowers">
                            <label class="form-check-label" for="filter-flowers">Цветы</label>
                        </div>
                        <div class="form-check">
                            <input class="form-check-input" type="checkbox" value="bouquets" id="filter-bouquets">
                            <label class="form-check-label" for="filter-bouquets">Букеты</label>
                        </div>
                        <div class="form-check">
                            <input class="form-check-input" type="checkbox" value="packaging" id="filter-packaging">
                            <label class="form-check-label" for="filter-packaging">Упаковка</label>
                        </div>
                        <button class="btn btn-primary ms-2" onclick="applyFilter()">Применить</button>
                    </div>
                </div>
            </div>
        
            <!-- Остальной код... -->
        </div>
            <div class="col-md-6">
                <div class="d-flex gap-3">
                    <div class="form-check">
                        <input class="form-check-input" type="checkbox" value="flowers" id="filter-flowers">
                        <label class="form-check-label" for="filter-flowers">Цветы</label>
                    </div>
                    <div class="form-check">
                        <input class="form-check-input" type="checkbox" value="bouquets" id="filter-bouquets">
                        <label class="form-check-label" for="filter-bouquets">Букеты</label>
                    </div>
                    <div class="form-check">
                        <input class="form-check-input" type="checkbox" value="packaging" id="filter-packaging">
                        <label class="form-check-label" for="filter-packaging">Упаковка</label>
                    </div>
                </div>
            </div>
        </div>

        <!-- Каталог товаров -->
        <div class="row product-grid">
            <div class="col-12 col-sm-6 col-md-4 col-lg-3 mb-4">
                <div class="card h-100 small-product">
                    <img src="500.jpg" class="card-img-top" alt="3 сестры">
                    <div class="card-body p-2">
                        <h5 class="card-title mb-1">3 сестры</h5>
                        <p class="card-text text-danger mb-1">500 ₽</p>
                        <a href="tovar.html" class="btn btn-sm btn-outline-success">Подробнее</a>
                        <button class="btn btn-sm btn-primary mt-1" onclick="addToCart('product_id')">В корзину</button>
                    </div>
                </div>
            </div>
            <div class="row product-grid">
                <div class="col-12 col-sm-6 col-md-4 col-lg-3 mb-4">
                    <div class="card h-100 small-product">
                        <img src="1500.jpg" class="card-img-top" alt="Букет для мамы">
                        <div class="card-body p-2">
                            <h5 class="card-title mb-1">Букет для мамы</h5>
                            <p class="card-text text-danger mb-1">1500 ₽</p>
                            <a href="tovar.html" class="btn btn-sm btn-outline-success">Подробнее</a>
                            <button class="btn btn-sm btn-primary mt-1" onclick="addToCart('product_id')">В корзину</button>
                        </div>
                    </div>
                </div>
    <!-- Футер -->
    <footer class="bg-light text-center p-4 mt-5">
        <p class="text-success mb-0">© 2023 Мир цветов. Все права защищены.</p>
    </footer>

    <!-- Подключаем JS Bootstrap -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script src="script.js"></script>
</body>
</html>