<!DOCTYPE html>
<html lang="zxx">
    <?php require __DIR__ . '/includes/head.php'; ?>

    <body class="bg-body-bg"><?php require __DIR__ . '/includes/loading.php'; ?><?php require __DIR__ . '/includes/sidebar.php'; ?>


        <!-- Start Main Content Area -->
        <div class="container-fluid">
            <div class="main-content d-flex flex-column">
                <?php require __DIR__ . '/includes/topbar.php'; ?>


                <div class="main-content-container overflow-hidden">
                    <div class="d-flex justify-content-between align-items-center flex-wrap gap-2 mb-4 mt-1">
                        <h3 class="mb-0">Create Product</h3>

                        <nav aria-label="breadcrumb">
                            <ol class="breadcrumb align-items-center mb-0 lh-1">
                                <li class="breadcrumb-item">
                                    <a href="index.html" class="d-flex align-items-center text-decoration-none">
                                        <i class="ri-home-8-line fs-15 text-primary me-1"></i>
                                        <span class="text-body fs-14 hover">Dashboard</span>
                                    </a>
                                </li>
                                <li class="breadcrumb-item active" aria-current="page">
                                    <span>E-Commerce</span>
                                </li>
                                <li class="breadcrumb-item active" aria-current="page">
                                    <span class="text-secondary">Create Product</span>
                                </li>
                            </ol>
                        </nav>
                    </div>

                    <div class="card bg-white p-20 rounded-10 border border-white mb-4">
                        <div class="row">
                            <div class="col-lg-8">
                                <h3 class="mb-20">Add a Product</h3>
                                <form>
                                    <div class="row">
                                        <div class="col-lg-6">
                                            <div class="mb-20">
                                                <label class="label fs-16 mb-2">Product Title</label>
                                                <div class="form-floating">
                                                    <input type="text" class="form-control" id="floatingInput1" placeholder="Product Title">
                                                    <label for="floatingInput1">Product Title</label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-lg-6">
                                            <div class="mb-20">
                                                <label class="label fs-16 mb-2">Product Type</label>
                                                <div class="form-floating">
                                                    <select class="form-select form-control" id="floatingSelect2" aria-label="Floating label select example">
                                                        <option selected>Select</option>
                                                        <option value="1">Digital Product</option>
                                                        <option value="2">Physical Product</option>
                                                    </select>
                                                    <label for="floatingSelect2">Select</label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-lg-6">
                                            <div class="mb-20">
                                                <label class="label fs-16 mb-2">SKU</label>
                                                <div class="form-floating">
                                                    <input type="text" class="form-control" id="floatingInput3" placeholder="SKU">
                                                    <label for="floatingInput3">SKU</label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-lg-6">
                                            <div class="mb-20">
                                                <label class="label fs-16 mb-2">Brand Name</label>
                                                <div class="form-floating">
                                                    <select class="form-select form-control" id="floatingSelect4" aria-label="Floating label select example">
                                                        <option selected>Select</option>
                                                        <option value="1">Emburo</option>
                                                        <option value="2">Fediz</option>
                                                        <option value="2">Debilop</option>
                                                        <option value="2">Canin</option>
                                                        <option value="2">Fila</option>
                                                    </select>
                                                    <label for="floatingSelect4">Select</label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-lg-12">
                                            <div class="form-group mb-20">
                                                <label class="label fs-16">Description</label>
                                                <div id="standalone-container" class="bg-transparent rounded-10">
                                                    <div id="toolbar-container" class="rounded-top-3 bg-transparent">
                                                        <span class="ql-formats">
                                                            <select class="ql-font"></select>
                                                            <select class="ql-size"></select>
                                                        </span>
                                                        <span class="ql-formats">
                                                            <button class="ql-bold"></button>
                                                            <button class="ql-italic"></button>
                                                            <button class="ql-underline"></button>
                                                            <button class="ql-strike"></button>
                                                        </span>
                                                        <span class="ql-formats">
                                                            <button class="ql-blockquote"></button>
                                                            <button class="ql-code-block"></button>
                                                        </span>
                                                        <span class="ql-formats">
                                                            <button class="ql-list" value="ordered"></button>
                                                            <button class="ql-list" value="bullet"></button>
                                                            <button class="ql-indent" value="-1"></button>
                                                            <button class="ql-indent" value="+1"></button>
                                                        </span>
                                                        <span class="ql-formats">
                                                            <button class="ql-link"></button>
                                                            <button class="ql-image"></button>
                                                            <button class="ql-video"></button>
                                                        </span>
                                                    </div>
                                                    <div id="editor-container" style="height: 163px; border-color: #D5D9E2;" class="rounded-bottom-3"></div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-lg-6">
                                            <div class="mb-20">
                                                <label class="label fs-16 mb-2">Regular Price</label>
                                                <div class="form-floating">
                                                    <input type="text" class="form-control" id="floatingInput5" placeholder="Regular Price">
                                                    <label for="floatingInput5">Regular Price</label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-lg-6">
                                            <div class="mb-20">
                                                <label class="label fs-16 mb-2">Sale Price</label>
                                                <div class="form-floating">
                                                    <input type="text" class="form-control" id="floatingInput6" placeholder="Sale Price">
                                                    <label for="floatingInput6">Sale Price</label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-lg-6">
                                            <div class="mb-20">
                                                <label class="label fs-16 mb-2">Publish Schedule</label>
                                                <input type="date" class="form-control">
                                            </div>
                                        </div>
                                        <div class="col-lg-6">
                                            <div class="mb-20">
                                                <label class="label fs-16 mb-2">Product in Stock</label>
                                                <div class="form-floating">
                                                    <input type="text" class="form-control" id="floatingInput7" placeholder="Product in Stock">
                                                    <label for="floatingInput7">Product in Stock</label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-lg-6">
                                            <div class="mb-20">
                                                <label class="label fs-16 mb-2">Product ID</label>
                                                <div class="form-floating">
                                                    <input type="text" class="form-control" id="floatingInput8" placeholder="Product ID">
                                                    <label for="floatingInput8">Product ID</label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-lg-6">
                                            <div class="mb-20">
                                                <label class="label fs-16 mb-2">Discount / Offer</label>
                                                <div class="form-floating">
                                                    <input type="text" class="form-control" id="floatingInput9" placeholder="Discount / Offer">
                                                    <label for="floatingInput9">Discount / Offer</label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-lg-6">
                                            <div class="mb-20">
                                                <label class="label fs-16 mb-2">Available Date</label>
                                                <input type="date" class="form-control">
                                            </div>
                                        </div>
                                        <div class="col-lg-6">
                                            <div class="mb-20">
                                                <label class="label fs-16 mb-2">End Date</label>
                                                <input type="date" class="form-control">
                                            </div>
                                        </div>
                                        <div class="col-lg-12">
                                            <div class="form-group mb-4 only-file-upload" id="file-upload">
                                                <label class="label fs-16">Upload Product Images</label>
                                                <div class="form-control h-100 text-center position-relative p-4 p-lg-5">
                                                    <div class="product-upload">
                                                        <label class="file-upload mb-0">
                                                            <i class="ri-folder-image-line bg-primary bg-opacity-10 p-2 rounded-1 text-primary"></i>
                                                            <span class="d-block text-body fs-14">Drag and drop an image or <span class="text-primary text-decoration-underline">Browse</span></span>
                                                        </label>
                                                        <label class="position-absolute top-0 bottom-0 start-0 end-0 cursor" id="upload-container">
                                                            <input class="form__file bottom-0" id="upload-files" type="file" multiple="multiple">
                                                        </label>
                                                    </div>
                                                </div>
                                                <div id="files-list-container"></div>
                                            </div>
                                        </div>
                                        <div class="col-lg-12">
                                            <div class="d-flex gap-2">
                                                <button type="button" class="btn btn-primary fw-normal text-white">Create Product</button>
                                                <button type="button" class="btn btn-danger fw-normal text-white" data-bs-dismiss="modal">Cancel</button>
                                            </div>
                                        </div>
                                    </div>
                                </form> 
                            </div>
                            <div class="col-lg-4">
                                <h3 class="mb-20">Product Category & Tags</h3>
                                <form>
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Category</label>
                                        <div class="form-floating">
                                            <select class="form-select form-control" id="floatingSelect10" aria-label="Floating label select example">
                                                <option selected>Select</option>
                                                <option value="1">Watch</option>
                                                <option value="2">Mobile</option>
                                                <option value="3">Laptop</option>
                                                <option value="4">Headphone</option>
                                                <option value="5">Shoe</option>
                                            </select>
                                            <label for="floatingSelect10">Select</label>
                                        </div>
                                    </div>
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Vendor</label>
                                        <div class="form-floating">
                                            <select class="form-select form-control" id="floatingSelect11" aria-label="Floating label select example">
                                                <option selected>Select</option>
                                                <option value="1">Dennis Matthews</option>
                                                <option value="2">Susan Rader</option>
                                                <option value="3">Douglas Harvey</option>
                                                <option value="4">John Valdez</option>
                                                <option value="5">Kathryn Turner</option>
                                            </select>
                                            <label for="floatingSelect11">Select</label>
                                        </div>
                                    </div>
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Collection</label>
                                        <div class="form-floating">
                                            <select class="form-select form-control" id="floatingSelect12" aria-label="Floating label select example">
                                                <option selected>Select</option>
                                                <option value="1">Collection 1</option>
                                                <option value="2">Collection 2</option>
                                                <option value="3">Collection 3</option>
                                                <option value="4">Collection 4</option>
                                                <option value="5">Collection 5</option>
                                            </select>
                                            <label for="floatingSelect12">Select</label>
                                        </div>
                                    </div>
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Tags</label>
                                        <div class="form-floating">
                                            <select class="form-select form-control" id="floatingSelect13" aria-label="Floating label select example">
                                                <option selected>Select</option>
                                                <option value="1">Collection 1</option>
                                                <option value="2">Collection 2</option>
                                                <option value="3">Collection 3</option>
                                                <option value="4">Collection 4</option>
                                                <option value="5">Collection 5</option>
                                            </select>
                                            <label for="floatingSelect13">Select</label>
                                        </div>
                                    </div>

                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Multi Tags</label>
                                        <div class="tag-container p-1 form-control h-auto" id="tagContainer">
                                            <input type="text" id="tagInput" class="form-control border-0" style="height: 48px;" placeholder="Type and press Enter">
                                        </div>
                                    </div>

                                    <h3 class="mb-3 pt-3">Other Option</h3>

                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Title</label>
                                        <div class="form-floating">
                                            <input type="text" class="form-control" id="floatingInput14" placeholder="Title">
                                            <label for="floatingInput14">Title</label>
                                        </div>
                                    </div>

                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Task Description</label>
                                        <div class="form-floating">
                                            <textarea class="form-control" placeholder="Task Description" id="floatingTextarea15" style="height: 152px"></textarea>
                                            <label for="floatingTextarea15">Task Description</label>
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="flex-grow-1"></div>

                <?php require __DIR__ . '/includes/footer.php'; ?>

            </div>
        </div>
        <!-- Start Main Content Area -->

        <!-- Start Theme Setting Area -->
        <button class="btn btn-primary theme-settings-btn p-0 position-fixed z-2 text-center rounded-circle" style="bottom: 24px; right: 24px; width: 56px; height: 56px; line-height: 54px;" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasScrolling" aria-controls="offcanvasScrolling">
            <i class="text-white ri-settings-3-fill fs-28" data-bs-toggle="tooltip" data-bs-placement="left" data-bs-title="Click On Theme Settings"></i>
        </button>

        <!-- Start Theme Setting Area -->
        <div class="offcanvas offcanvas-end bg-white border-0" data-bs-scroll="true" data-bs-backdrop="true" tabindex="-1" id="offcanvasScrolling" aria-labelledby="offcanvasScrollingLabel" style="box-shadow: 0 4px 20px #2f8fe812 !important; max-width: 300px;">
            <div class="offcanvas-header bg-light p-20">
                <h5 class="offcanvas-title fs-18 fw-medium" id="offcanvasScrollingLabel">Configuration Panel</h5>
                <button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
            </div>
            <div class="offcanvas-body p-0 overflow-hidden">
                <div class="last-child-none" style="max-height: 858px;" data-simplebar>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">RTL Mode</h4>
                        <div class="rtl-btn">
                            <label id="switch">
                                <input type="checkbox" onchange="toggleTheme()" class="toggle-switch rtl-switch" id="slider">
                            </label>
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Only Sidebar Dark</h4>
                        <div class="sidebar-light-dark" id="sidebar-light-dark">
                            <input type="checkbox" class="toggle-switch sidebar-dark-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Only Header Dark</h4>
                        <div class="header-light-dark" id="header-light-dark">
                            <input type="checkbox" class="toggle-switch header-dark-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Right Sidebar</h4>
                        <div class="right-sidebar" id="right-sidebar">
                            <input type="checkbox" class="toggle-switch right-sidebar-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Hide Sidebar</h4>
                        <div class="icon-sidebar" id="icon-sidebar">
                            <input type="checkbox" class="toggle-switch icon-sidebar-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Bordered Card</h4>
                        <div class="card-border" id="card-border">
                            <input type="checkbox" class="toggle-switch border-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Card Border Radius</h4>
                        <div class="card-radius-square" id="card-radius-square">
                            <input type="checkbox" class="toggle-switch border-radius-switch">
                        </div>
                    </div>
                    
                    <div class="p-20 border-bottom child">
                        <a href="#" class="btn btn-primary text-white">
                            Buy Fila
                        </a>
                    </div>
                </div>
            </div>
        </div>
        <!-- End Theme Setting Area -->
     
        <!-- Link Of JS File -->
        <script src="assets/js/bootstrap.bundle.min.js"></script>
        <script src="assets/js/sidebar-menu.js"></script>
        <script src="assets/js/quill.min.js"></script>
        <script src="assets/js/data-table.js"></script>
        <script src="assets/js/prism.js"></script>
        <script src="assets/js/clipboard.min.js"></script>
        <script src="assets/js/simplebar.min.js"></script>
        <script src="assets/js/apexcharts.min.js"></script>
        <script src="assets/js/echarts.min.js"></script>
        <script src="assets/js/swiper-bundle.min.js"></script>
        <script src="assets/js/fullcalendar.main.js"></script>
        <script src="assets/js/jsvectormap.min.js"></script>
        <script src="assets/js/world-merc.js"></script>
        <script src="assets/js/custom/apexcharts.js"></script>
        <script src="assets/js/custom/echarts.js"></script>
        <script src="assets/js/custom/maps.js"></script>
        <script src="assets/js/custom/custom.js"></script>
    </body>
</html>