/djdj/order.html

<!DOCTYPE html><html lang="en"><head>  <meta charset="UTF-8">  <meta name="viewport" content="width=device-width, initial-scale=1.0">  <meta name="theme-color" content="#f8fafc">  <meta name="description" content="Explore useful electronics, accessories, books and computer products.">  <title>Dj Smart Picks | Find Your Next Product</title>
  <style>    :root {      --primary: #4f46e5;      --primary-dark: #3730a3;      --text: #172033;      --muted: #64748b;      --border: #e2e8f0;      --surface: #ffffff;      --bg: #f8fafc;    }
    * {      margin: 0;      padding: 0;      box-sizing: border-box;    }
    html {      scroll-behavior: smooth;    }
    body {      font-family: Inter, Arial, sans-serif;      background: var(--bg);      color: var(--text);      line-height: 1.6;    }
    a {      color: inherit;      text-decoration: none;    }
    button, input, select {      font: inherit;    }
    button {      cursor: pointer;    }
    .container {      width: min(1180px, 92%);      margin: auto;    }
    /* Header */
    .header {      background: #fff;      border-bottom: 1px solid var(--border);      position: sticky;      top: 0;      z-index: 20;    }
    .navbar {      min-height: 76px;      display: flex;      align-items: center;      justify-content: space-between;      gap: 20px;    }
    .logo {      font-size: 25px;      font-weight: 800;      letter-spacing: -1px;      white-space: nowrap;    }
    .logo span {      color: var(--primary);    }
    .nav-links {      display: flex;      align-items: center;      gap: 24px;      font-size: 14px;      font-weight: 600;    }
    .nav-links a:hover {      color: var(--primary);    }
    .wish-nav {      background: #eef2ff;      color: var(--primary);      border-radius: 10px;      padding: 9px 13px;    }
    /* Hero */
    .hero {      padding: 58px 0 38px;      background:        radial-gradient(circle at 90% 20%, #c7d2fe 0, transparent 30%),        linear-gradient(120deg, #eef2ff, #f8fafc 70%);    }
    .hero-grid {      display: grid;      grid-template-columns: 1.1fr .9fr;      align-items: center;      gap: 35px;    }
    .eyebrow {      display: inline-block;      color: var(--primary);      background: #e0e7ff;      padding: 6px 12px;      border-radius: 30px;      font-size: 12px;      font-weight: 800;      text-transform: uppercase;      letter-spacing: 1px;      margin-bottom: 16px;    }
    .hero h1 {      font-size: clamp(34px, 5vw, 58px);      line-height: 1.12;      letter-spacing: -2px;      margin-bottom: 18px;    }
    .hero h1 span {      color: var(--primary);    }
    .hero p {      max-width: 530px;      color: var(--muted);      margin-bottom: 25px;    }
    .primary-btn {      display: inline-block;      background: var(--primary);      color: white;      padding: 12px 20px;      border-radius: 10px;      font-weight: 700;      border: none;      transition: .2s;    }
    .primary-btn:hover {      background: var(--primary-dark);      transform: translateY(-2px);    }
    .hero-image {      width: 100%;      height: 310px;      object-fit: cover;      border-radius: 22px;      box-shadow: 0 20px 50px #3730a320;    }
    /* Search */
    .search-section {      margin-top: -2px;      padding: 28px 0;    }
    .search-box {      display: flex;      gap: 12px;      background: white;      border: 1px solid var(--border);      border-radius: 15px;      padding: 12px;      box-shadow: 0 8px 30px #0f172a08;    }
    .search-icon {      padding: 10px;      font-size: 21px;    }
    .search-box input {      flex: 1;      min-width: 0;      border: none;      outline: none;      background: transparent;      color: var(--text);      font-size: 15px;    }
    .search-box input:focus-visible {      outline: 2px solid var(--primary);      outline-offset: 3px;      border-radius: 4px;    }
    /* Sections */
    .section {      padding: 22px 0 55px;    }
    .section-heading {      display: flex;      justify-content: space-between;      align-items: end;      gap: 16px;      margin-bottom: 25px;    }
    .section-heading h2 {      font-size: clamp(24px, 3vw, 32px);      letter-spacing: -.7px;    }
    .section-heading p {      color: var(--muted);      font-size: 14px;    }
    /* Categories */
    .categories {      display: flex;      gap: 10px;      flex-wrap: wrap;      margin-bottom: 28px;    }
    .category-btn {      background: white;      border: 1px solid var(--border);      padding: 9px 16px;      border-radius: 30px;      font-size: 13px;      font-weight: 700;      color: #475569;      transition: .2s;    }
    .category-btn:hover,    .category-btn.active {      background: var(--primary);      color: white;      border-color: var(--primary);    }
    /* Toolbar */
    .toolbar {      display: flex;      justify-content: space-between;      align-items: center;      gap: 14px;      margin-bottom: 20px;      color: var(--muted);      font-size: 13px;    }
    .toolbar select {      padding: 9px 12px;      border: 1px solid var(--border);      background: white;      border-radius: 9px;      color: var(--text);      outline-color: var(--primary);    }
    /* Product grid */
    .product-grid {      display: grid;      grid-template-columns: repeat(4, minmax(0, 1fr));      gap: 20px;    }
    .product-card {      background: var(--surface);      border: 1px solid var(--border);      border-radius: 16px;      overflow: hidden;      transition: transform .2s, box-shadow .2s;      min-width: 0;    }
    .product-card:hover {      transform: translateY(-5px);      box-shadow: 0 14px 35px #0f172a10;    }
    .product-image-wrap {      height: 205px;      background: #f1f5f9;      position: relative;      overflow: hidden;    }
    .product-image {      width: 100%;      height: 100%;      object-fit: contain;      padding: 12px;      transition: transform .3s;    }
    .product-card:hover .product-image {      transform: scale(1.04);    }
    .product-badge {      position: absolute;      top: 12px;      left: 12px;      background: #e0e7ff;      color: #3730a3;      padding: 5px 9px;      font-size: 10px;      font-weight: 800;      border-radius: 6px;      text-transform: uppercase;    }
    .heart-btn {      position: absolute;      right: 12px;      top: 10px;      width: 36px;      height: 36px;      border: 1px solid var(--border);      background: white;      border-radius: 50%;      font-size: 20px;      color: #64748b;    }
    .heart-btn.saved {      color: #e11d48;      background: #fff1f2;    }
    .product-info {      padding: 17px;    }
    .product-category {      font-size: 11px;      color: var(--primary);      font-weight: 800;      text-transform: uppercase;      letter-spacing: .6px;    }
    .product-info h3 {      font-size: 16px;      line-height: 1.4;      margin: 7px 0;      min-height: 45px;    }
    .product-description {      font-size: 12px;      color: var(--muted);      margin-bottom: 16px;      min-height: 38px;    }
    .buy-btn {      display: flex;      align-items: center;      justify-content: center;      gap: 8px;      width: 100%;      background: #111827;      color: white;      border-radius: 9px;      padding: 11px 8px;      font-size: 13px;      font-weight: 700;      transition: .2s;    }
    .buy-btn:hover {      background: var(--primary);    }
    .empty-state {      text-align: center;      background: white;      padding: 55px 20px;      border: 1px solid var(--border);      border-radius: 16px;      grid-column: 1 / -1;    }
    .empty-state h3 {      margin-bottom: 8px;    }
    .empty-state p {      color: var(--muted);      font-size: 14px;    }
    /* About */
    .trust-section {      background: white;      border-top: 1px solid var(--border);      border-bottom: 1px solid var(--border);      padding: 45px 0;    }
    .trust-grid {      display: grid;      grid-template-columns: repeat(3, 1fr);      gap: 28px;    }
    .trust-item h3 {      font-size: 16px;      margin: 9px 0 5px;    }
    .trust-item p {      font-size: 13px;      color: var(--muted);    }
    .trust-icon {      font-size: 25px;    }
    .disclosure {      background: #f1f5f9;      border: 1px solid var(--border);      border-radius: 12px;      padding: 16px;      font-size: 12px;      color: #475569;      margin-top: 28px;    }
    /* Footer */
    footer {      background: #111827;      color: #cbd5e1;      padding: 35px 0;      font-size: 13px;    }
    .footer-inner {      display: flex;      justify-content: space-between;      align-items: center;      gap: 20px;      flex-wrap: wrap;    }
    footer .logo {      color: white;      margin-bottom: 6px;    }
    footer p {      max-width: 480px;    }
    /* Responsive */
    @media (max-width: 1000px) {      .product-grid {        grid-template-columns: repeat(3, minmax(0, 1fr));      }
      .nav-links {        gap: 13px;      }    }
    @media (max-width: 700px) {      .navbar {        min-height: 66px;      }
      .logo {        font-size: 21px;      }
      .nav-links a:not(.wish-nav) {        display: none;      }
      .hero {        padding: 38px 0 30px;      }
      .hero-grid {        grid-template-columns: 1fr;        gap: 25px;      }
      .hero h1 {        letter-spacing: -1px;      }
      .hero-image {        height: 220px;      }
      .product-grid {        grid-template-columns: repeat(2, minmax(0, 1fr));        gap: 12px;      }
      .product-image-wrap {        height: 160px;      }
      .product-info {        padding: 12px;      }
      .product-info h3 {        font-size: 14px;      }
      .product-description {        font-size: 11px;      }
      .section-heading {        align-items: start;        flex-direction: column;      }
      .trust-grid {        grid-template-columns: 1fr;        gap: 24px;      }
      .toolbar {        align-items: start;      }    }
    @media (max-width: 370px) {      .product-grid {        grid-template-columns: 1fr;      }
      .product-image-wrap {        height: 220px;      }
      .search-box {        gap: 4px;        padding: 8px;      }    }  </style></head>
<body>
  <header class="header">    <div class="container navbar">      <a href="#" class="logo"><b>Dj</b> Smart<span>Picks.</span></a>
      <nav class="nav-links" aria-label="Main navigation">        <a href="#">Home</a>        <a href="#products">Products</a>        <a href="#about">About</a>        <a href="#products" class="wish-nav" id="wishlistLink">          ♥ Wishlist (<span id="wishCount">0</span>)        </a>      </nav>    </div>  </header>
  <main>    <section class="hero">      <div class="container hero-grid">        <div>          <span class="eyebrow">Your product discovery hub</span>          <h1>Find useful products.<br><span>Shop smarter.</span></h1>          <p>            Explore carefully organized picks for your everyday needs,            from electronics and computer accessories to books and more.          </p>          <a href="#products" class="primary-btn">Explore Products →</a>        </div>
        <img          class="hero-image"          src="https://images.unsplash.com/photo-1498049794561-7780e7231661?auto=format&fit=crop&w=1000&q=85"          alt="Electronics and technology products"          fetchpriority="high"        >      </div>    </section>
    <section class="search-section">      <div class="container">        <label class="search-box" for="searchInput">          <span class="search-icon" aria-hidden="true">⌕</span>          <input            type="search"            id="searchInput"            placeholder="Search glasses, pendrive, laptop, books..."            autocomplete="off"          >        </label>      </div>    </section>
    <section class="section" id="products">      <div class="container">        <div class="section-heading">          <div>            <h2>Explore Our Collection</h2>            <p>Browse products by category and find what you need.</p>          </div>        </div>
        <div class="categories" id="categories">          <button class="category-btn active" data-category="All">All Products</button>          <button class="category-btn" data-category="Electronics">Electronics</button>          <button class="category-btn" data-category="Accessories">Accessories</button>          <button class="category-btn" data-category="Computer & Office">Computer & Office</button>          <button class="category-btn" data-category="Books">Books</button>          <button class="category-btn" data-category="Other">Other</button>        </div>
        <div class="toolbar">          <span id="resultCount" aria-live="polite">Products</span>
          <select id="sortSelect" aria-label="Sort products">            <option value="default">Default order</option>            <option value="az">Name: A to Z</option>            <option value="za">Name: Z to A</option>          </select>        </div>
        <div class="product-grid" id="productGrid"></div>      </div>    </section>
    <section class="trust-section" id="about">      <div class="container">        <div class="section-heading">          <div>            <h2>Why Explore SmartPicks?</h2>            <p>A simple way to discover products from one place.</p>          </div>        </div>
        <div class="trust-grid">          <div class="trust-item">            <span class="trust-icon">⌕</span>            <h3>Easy Product Search</h3>            <p>Search by name and use categories to find relevant products quickly.</p>          </div>
          <div class="trust-item">            <span class="trust-icon">♡</span>            <h3>Personal Wishlist</h3>            <p>Save interesting products to your wishlist in this browser.</p>          </div>
          <div class="trust-item">            <span class="trust-icon">↗</span>            <h3>Shop on Amazon</h3>            <p>Use product links to visit the relevant shopping destination.</p>          </div>        </div>
        <div class="disclosure">          <strong>Affiliate Disclosure:</strong>          Some links on this website are affiliate links. If you purchase          through eligible links, we may earn a commission at no additional          cost to you. Product availability and prices may change on the          retailer's website.        </div>      </div>    </section>  </main>
  <footer>    <div class="container footer-inner">      <div>        <div class="logo">Dj Smart<span>Picks.</span></div>        <p>Discover products for everyday life, study and work.</p>      </div>      <p>© <span id="year"></span> Dj SmartPicks. All rights reserved.</p>    </div>  </footer>
  <script>    const products = [		      {        id: 1,        name: "LG 55-inch TV",        category: "Electronics",        description: "Check the linked television listing for specifications.",        image: "https://images.unsplash.com/photo-1593359677879-a4bb92f829d1?auto=format&fit=crop&w=600&q=80",        url: "https://link.amazon/B08jEoJZi",        badge: "Television"      },      {        id: 2,        name: "Stylish Glasses",        category: "Accessories",        description: "Explore eyewear for everyday use.",        image: "https://images.unsplash.com/photo-1511499767150-a48a237f0083?auto=format&fit=crop&w=600&q=80",        url: "https://amzn.to/4071kqv",        badge: "Eyewear"      },      {        id: 3,        name: "USB Pendrive",        category: "Computer & Office",        description: "A storage accessory for your files.",        image: "https://images.unsplash.com/photo-1618410320928-25228d811631?auto=format&fit=crop&w=600&q=80",        url: "https://amzn.to/4dGRaQt",        badge: "Storage"      },      {        id: 4,        name: "Earbuds",        category: "Electronics",        description: "Explore audio accessories for daily use.",        image: "https://images.unsplash.com/photo-1505740420928-5e560c06d30e?auto=format&fit=crop&w=600&q=80",        url: "https://amzn.to/4fXXRPV",        badge: "Audio"      },      {        id: 5,        name: "Microphone",        category: "Electronics",        description: "Browse microphones for recording and calls.",        image: "https://images.unsplash.com/photo-1590602847861-f357a9332bbc?auto=format&fit=crop&w=600&q=80",        url: "https://amzn.to/4g3nFKe",        badge: "Recording"      },      {        id: 6,        name: "Neckband Under ₹300",        category: "Electronics",        description: "View the linked neckband listing and current price.",        image: "https://images.unsplash.com/photo-1590658268037-6bf12165a8df?auto=format&fit=crop&w=600&q=80",        url: "https://amzn.to/400fzNm",        badge: "Audio"      },      {        id: 7,        name: "Thermal Printer",        category: "Computer & Office",        description: "Explore printing equipment for your workspace.",        image: "https://images.unsplash.com/photo-1612815154858-60aa4c59eaa6?auto=format&fit=crop&w=600&q=80",        url: "https://amzn.to/4jm9u4U",        badge: "Office"      },      {        id: 8,        name: "Lenovo V15 Laptop",        category: "Computer & Office",        description: "View laptop specifications and listing details.",        image: "https://images.unsplash.com/photo-1496181133206-80ce9b88a853?auto=format&fit=crop&w=600&q=80",        url: "https://amzn.to/3MLTSgl",        badge: "Laptop"      },      {        id: 9,        name: "M17 8GB / 128GB",        category: "Electronics",        description: "Check the exact model and specifications on Amazon.",        image: "https://images.unsplash.com/photo-1511707171634-5f897ff02aa9?auto=format&fit=crop&w=600&q=80",        url: "https://amzn.to/3NnIRC4",        badge: "Device"      },      {        id: 10,        name: "Arihant ECE GATE Book",        category: "Books",        description: "Open the book listing for edition and details.",        image: "https://images.unsplash.com/photo-1544947950-fa07a98d237f?auto=format&fit=crop&w=600&q=80",        url: "https://www.amazon.in/gp/aw/d/9373947532?smid=A1WYWER0W24N8S&psc=1&linkCode=ll2&tag=dheerajuprait-21&linkId=ff64a155fb61fd2ce3c728c511a39edb&ref_=as_li_ss_tl",        badge: "Book"      },      {        id: 11,        name: "Earbuds",        category: "Electronics",        description: "Explore the linked earphone listing.",        image: "https://images.unsplash.com/photo-1484704849700-f032a568e944?auto=format&fit=crop&w=600&q=80",        url: "https://link.amazon/B01Meovy9",        badge: "Audio"      }    ];
    const grid = document.getElementById("productGrid");    const searchInput = document.getElementById("searchInput");    const sortSelect = document.getElementById("sortSelect");    const resultCount = document.getElementById("resultCount");    const wishCount = document.getElementById("wishCount");
    let activeCategory = "All";    let wishlistOnly = false;    const wishlist = new Set();
    function safeImageFallback(img) {      img.onerror = () => {        img.onerror = null;        img.src = "data:image/svg+xml," + encodeURIComponent(          '<svg xmlns="http://www.w3.org/2000/svg" width="400" height="300">' +          '<rect width="100%" height="100%" fill="#e2e8f0"/>' +          '<text x="50%" y="50%" text-anchor="middle" fill="#475569" font-size="20">Product Image</text>' +          '</svg>'        );      };    }
    function renderProducts() {      const query = searchInput.value.trim().toLowerCase();
      let filtered = products.filter(product => {        const matchesQuery =          product.name.toLowerCase().includes(query) ||          product.category.toLowerCase().includes(query) ||          product.description.toLowerCase().includes(query);
        const matchesCategory =          activeCategory === "All" ||          product.category === activeCategory;
        const matchesWishlist =          !wishlistOnly || wishlist.has(product.id);
        return matchesQuery && matchesCategory && matchesWishlist;      });
      if (sortSelect.value === "az") {        filtered.sort((a, b) => a.name.localeCompare(b.name));      } else if (sortSelect.value === "za") {        filtered.sort((a, b) => b.name.localeCompare(a.name));      }
      resultCount.textContent =        `${filtered.length} product${filtered.length === 1 ? "" : "s"} found`;
      grid.innerHTML = "";
      if (filtered.length === 0) {        grid.innerHTML = `          <div class="empty-state">            <h3>No products found</h3>            <p>Try a different search term or category.</p>          </div>        `;        return;      }
      filtered.forEach(product => {        const isSaved = wishlist.has(product.id);        const card = document.createElement("article");        card.className = "product-card";
        card.innerHTML = `          <div class="product-image-wrap">            <img              class="product-image"              src="${product.image}"              alt="${product.name}"              loading="lazy"            >            <span class="product-badge">${product.badge}</span>            <button              class="heart-btn ${isSaved ? "saved" : ""}"              type="button"              aria-label="${isSaved ? "Remove from" : "Add to"} wishlist: ${product.name}"              aria-pressed="${isSaved}"              data-wishlist="${product.id}"            >${isSaved ? "♥" : "♡"}</button>          </div>
          <div class="product-info">            <span class="product-category">${product.category}</span>            <h3>${product.name}</h3>            <p class="product-description">${product.description}</p>            <a              class="buy-btn"              href="${product.url}"              target="_blank"              rel="sponsored nofollow noopener noreferrer"              aria-label="View ${product.name} on retailer website"            >View Product ↗</a>          </div>        `;
        const img = card.querySelector("img");        safeImageFallback(img);        grid.appendChild(card);      });    }
    document.getElementById("categories").addEventListener("click", event => {      const button = event.target.closest("[data-category]");      if (!button) return;
      activeCategory = button.dataset.category;      wishlistOnly = false;
      document.querySelectorAll(".category-btn").forEach(btn => {        btn.classList.toggle("active", btn === button);      });
      document.getElementById("wishlistLink").classList.remove("active");      renderProducts();    });
    searchInput.addEventListener("input", renderProducts);    sortSelect.addEventListener("change", renderProducts);
    grid.addEventListener("click", event => {      const button = event.target.closest("[data-wishlist]");      if (!button) return;
      const id = Number(button.dataset.wishlist);
      if (wishlist.has(id)) {        wishlist.delete(id);      } else {        wishlist.add(id);      }
      wishCount.textContent = wishlist.size;      renderProducts();    });
    document.getElementById("wishlistLink").addEventListener("click", event => {      event.preventDefault();
      wishlistOnly = !wishlistOnly;      activeCategory = "All";
      document.querySelectorAll(".category-btn").forEach(btn => {        btn.classList.toggle(          "active",          btn.dataset.category === "All" && !wishlistOnly        );      });
      document.getElementById("wishlistLink").classList.toggle(        "active",        wishlistOnly      );
      document.getElementById("products").scrollIntoView({        behavior: "smooth"      });
      renderProducts();    });
    document.getElementById("year").textContent = new Date().getFullYear();
    renderProducts();  </script></body></html>