body, html {
      margin: 0;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .appbar {
      width: 100%;
      border-bottom: 3px solid #ccc;
    }

    .media-bar {
      background-color: orange;
      color: white;
      display: flex;
      align-items: center;
      padding: 8px 20px;
      font-size: 13px;
      gap: 10px;
      flex-wrap: wrap;
    }

    .media-bar .icon {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .divider {
      border-left: 1px solid white;
      height: 16px;
    }

    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px;
      background-color: white;
    }

    .navbar-center {
      display: flex;
      gap: 25px;
      font-weight: 600;
      font-size: 16px;
    }

    .navbar img.logo {
      height: 60px;
    }

    .cart-box {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 10px 14px;
      border-radius: 24px;
      backdrop-filter: blur(5px);
      background: rgba(255, 255, 255, 0.4);
      box-shadow: 0 0 5px rgba(0,0,0,0.1);
    }

    .cart-box .count {
      font-weight: bold;
    }

    .avatar-box {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 10px 14px;
      margin-left: 10px;
      border-radius: 24px;
      background-color: #f5f5f5;
      font-weight: bold;
      cursor: pointer;
    }

    .location-bar {
      display: flex;
      align-items: center;
      padding: 15px 20px;
      gap: 20px;
      flex-wrap: wrap;
      border-top: 1px solid #ddd;
    }

    .location-btn {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 10px 14px;
      border-radius: 40px;
      backdrop-filter: blur(5px);
      background: rgba(255, 255, 255, 0.5);
      font-weight: bold;
    }

    .search-bar {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-grow: 1;
    }

    .search-bar input {
      padding: 12px 16px;
      flex-grow: 1;
      border: 1px solid #ccc;
      font-size: 16px;
      border-radius: 8px;
    }

    .categories-dropdown {
      padding: 12px;
      background: #f5f5f5;
      border: 1px solid #ccc;
      border-radius: 8px;
      font-size: 15px;
    }

    .phone-box {
      background-color: orange;
      color: white;
      padding: 12px 14px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 15px;
    }

    .search-btn {
      background: black;
      color: white;
      padding: 12px 16px;
      font-size: 16px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
    }

    .mobile-menu {
      display: none;
      position: absolute;
      top: 60px;
      left: 10px;
      background: white;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
      padding: 10px;
      border-radius: 8px;
      z-index: 1000;
    }

    .mobile-menu div {
      padding: 10px;
      cursor: pointer;
      font-weight: 100;
    }

    .mobile-menu div:hover {
      background-color: #f5f5f5;
    }

    .menu-icon {
      display: none;
      font-size: 26px;
      cursor: pointer;
      padding-right: 20px;
    }

    @media screen and (max-width: 768px) {
      .media-bar,
      .navbar-center,
      .avatar-box,
      .search-bar,
      .categories-dropdown,
      .phone-box {
        display: none;
      }

      .menu-icon {
        display: block;
      }

      .navbar {
        justify-content: space-between;
        padding: 16px;
      }

      .navbar img.logo {
        height: 40px;
        margin: 0;
      }

      .location-bar {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    /* --------- Banner ----------- */
     .banner-container {
      overflow: hidden;
      position: relative;
      width: 100%;
      padding: 20px 0;
      box-sizing: border-box;
    }

    .banner-slider {
      display: flex;
      gap: 15px;
      overflow-x: auto;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      padding: 0 20px;
      transition: transform 1s ease-in-out;
    }

    .banner-slider::-webkit-scrollbar {
      display: none;
    }

    .banner-item {
      flex: 0 0 70%;
      max-width: 70%;
      position: relative;
      border-radius: 5px;
      transition: transform 1s ease-in-out;
    }

    .banner-item img {
      width: 100%;
      border-radius: 5px;
      height: auto;
      display: block;
    }

    .blur-box {
      position: absolute;
      bottom: 10px;
      left: 50%;
      transform: translateX(-50%);
      background: rgba(255, 255, 255, 0.5);
      backdrop-filter: blur(5px);
      padding: 6px 12px;
      border-radius: 12px;
      font-size: 14px;
      font-weight: bold;
    }

    .indicators {
      display: flex;
      justify-content: center;
      margin-top: 15px;
      gap: 10px;
    }

    .indicator {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background-color: #ccc;
      transition: background-color 0.3s;
    }

    .indicator.active {
      background-color: orange;
    }

    @media screen and (max-width: 768px) {
      .banner-item {
        flex: 0 0 90%;
        max-width: 90%;
      }

      .banner-slider {
        padding: 0 10px;
      }
    }

    /* --------- PRODUCT ----------- */
     .product-section {
      padding: 20px;
    }

    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }

    .section-header h2 {
      margin: 0;
      font-size: 24px;
    }

    .scroll-buttons {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .scroll-buttons button {
      padding: 6px 12px;
      border-radius: 50%;
      font-size: 16px;
      border: 1px solid #ddd;
      background: white;
      cursor: pointer;
    }

    .horizontal-scroll {
      display: flex;
      overflow-x: auto;
      gap: 12px;
      scroll-behavior: smooth;
    }

    .product-card {
      flex: 0 0 200px;
      background-color: white;
      border: 1px solid #ccc;
      border-radius: 10px;
      padding: 10px;
      position: relative;
      margin-bottom: 15px;
      cursor: pointer;
      transition: box-shadow 0.2s ease;
    }

    .product-card:hover {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .product-card img {
      width: 100%;
      height: 140px;
      object-fit: contain;
      border-radius: 8px;
    }

    .book-label {
      position: absolute;
      top: 10px;
      left: 10px;
      background-color: red;
      color: white;
      font-size: 12px;
      padding: 2px 6px;
      border-radius: 3px;
      z-index: 1;
    }

    .product-title {
      font-weight: bold;
      font-size: 15px;
      margin-top: 10px;
    }

    .cut-price {
      color: #999;
      text-decoration: line-through;
      font-size: 13px;
    }

    .price {
      color: green;
      font-weight: 600;
      font-size: 15px;
    }

    .qty-add {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 6px;
    }

    .qty {
      font-size: 13px;
      background: #f0f0f0;
      padding: 4px 10px;
      border-radius: 5px;
    }

    .add-btn {
      font-size: 13px;
      background: #d0f0d0;
      padding: 4px 10px;
      border-radius: 5px;
      color: green;
      font-weight: bold;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    @media screen and (max-width: 768px) {
      .product-card {
        flex: 0 0 80%;
      }

      .scroll-buttons {
        gap: 4px;
      }

      .scroll-buttons button {
        font-size: 14px;
        padding: 5px 10px;
      }
    }
    .product-section {
  padding: 20px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.section-header h2 {
  margin: 0;
  font-size: 24px;
  color: #333;
}

/* ✅ Convert product-container to CSS Grid */
.product-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  padding: 0 10px;
}

.product-card {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  box-sizing: border-box;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  border-radius: 6px;
  background: #f4f4f4;
}

.book-label {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: crimson;
  color: white;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  z-index: 1;
}

.product-title {
  font-weight: 600;
  font-size: 14px;
  margin: 8px 0 4px;
  color: #222;
  min-height: 38px;
}

.cut-price {
  color: #999;
  text-decoration: line-through;
  font-size: 12px;
  margin-left: 6px;
}

.price {
  color: #1a8917;
  font-weight: bold;
  font-size: 14px;
}

.qty-add {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.qty {
  font-size: 12px;
  background: #eee;
  padding: 3px 8px;
  border-radius: 4px;
  color: #333;
}

.add-btn {
  font-size: 12px;
  background: #dfffe0;
  padding: 4px 10px;
  border-radius: 4px;
  color: green;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ✅ Responsive Grid Columns */
@media screen and (max-width: 1200px) {
  .product-container {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

@media screen and (max-width: 900px) {
  .product-container {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

@media screen and (max-width: 600px) {
  .product-container {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }

  .product-card {
    padding: 8px;
  }

  .product-title {
    font-size: 13px;
  }

  .price {
    font-size: 13px;
  }

  .cut-price {
    font-size: 11px;
  }

  .add-btn,
  .qty {
    font-size: 11px;
    padding: 3px 8px;
  }

  .product-card img {
    height: 100px;
  }

  .book-label {
    font-size: 10px;
    padding: 1px 5px;
  }
}
    /* --------- Categries ----------- */
     .category-section {
      padding: 20px;
    }

    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
    }

    .section-header h2 {
      margin: 0;
      font-size: 24px;
      font-weight: bold;
    }

    .section-header a {
      text-decoration: none;
      font-size: 14px;
      color: #000;
    }

    .horizontal-scroll {
      display: flex;
      overflow-x: auto;
      gap: 20px;
      scroll-behavior: smooth;
      padding-bottom: 10px;
    }

    .category-card {
      flex: 0 0 auto;
      text-align: center;
      width: 120px;
      cursor: pointer;
    }

    .category-card .image-wrapper {
      width: 100px;
      height: 100px;
      margin: 0 auto;
      border-radius: 50%;
      overflow: hidden;
      border: 2px solid #eee;
      transition: border 0.3s ease;
    }

    .category-card:hover .image-wrapper {
      border-color: #00a651;
    }

    .category-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .category-card .title {
      margin-top: 10px;
      font-size: 14px;
      color: #222;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
    }

    @media screen and (max-width: 768px) {
      .category-card {
        width: 90px;
      }

      .category-card .image-wrapper {
        width: 80px;
        height: 80px;
      }
    }
    /* -----------Footer -------------*/
     footer {
      background-color: orange;
      color: #000000;
      padding: 20px 0;
      text-align: center;
    }

    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .footer-links {
      margin: 15px 0;
    }

    .footer-links a {
      color: #000000;
      margin: 0 10px;
      text-decoration: none;
      font-size: 14px;
    }

    .footer-links a:hover {
      text-decoration: underline;
    }

    .footer-social a {
      margin: 0 8px;
      color: #fff;
      font-size: 18px;
      text-decoration: none;
    }

    .footer-social a:hover {
      color: #00aced;
    }

    .copyright {
      font-size: 13px;
      margin-top: 10px;
      color: #000000;
    }
    /* -------Deatails Product -----------------*/
     .details-container { display: flex; flex-wrap: wrap; gap: 30px; 
      padding: 20px;}
    .product-image { flex: 1; min-width: 300px; }
    .product-image img { width: 100%; max-width: 400px; object-fit: cover; }

    .product-info { flex: 2; min-width: 300px; }
    .product-info h2 { font-size: 24px; margin: 0; }
    .price { font-size: 24px; color: green; margin: 10px 0; }
    .variant-box {
      background: #e9f7ec;
      border: 1px solid green;
      padding: 10px;
      border-radius: 5px;
      margin-bottom: 10px;
    }

    .quantity-control {
      display: flex; align-items: center; margin: 10px 0;
    }
    .quantity-control button {
      width: 30px; height: 30px;
    }

    .action-buttons {
      display: flex; gap: 20px; margin: 10px 0;
    }

    .action-buttons button {
      padding: 10px 20px;
      font-weight: bold;
      cursor: pointer;
    }

    .info-box {
      background: #f5f8fa;
      padding: 15px;
      border-radius: 10px;
      margin-top: 15px;
    }

    .info-box div {
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .share-icons {
      margin-top: 10px;
    }

    .share-icons img {
      width: 32px;
      height: 32px;
      margin-right: 10px;
      cursor: pointer;
    }