:root {
      --primary: #000000;          /* Black */
      --primary-dark: #000000;     /* Black */
      --secondary: #000000;        /* Black */
      --light: #ffffff;            /* White */
      --dark: #000000;             /* Black */
      --gray: #333333;             /* Dark gray for text */
      --light-gray: #f5f5f5;       /* Light gray for backgrounds */
      --success: #000000;          /* Black */
      --danger: #000000;           /* Black */
      --border-radius: 12px;
      --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      --transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
      --gradient: linear-gradient(135deg, #000000, #000000); /* Just black */
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', system-ui, sans-serif;
    }

    body {
      margin: 0;
      padding: 0;
      min-height: 100vh;
      background: var(--light);
      padding-top: 120px;
      padding-bottom: 60px;
    }

    /* Ultra Compact Header */
    .top-bar {
      background: var(--gradient);
      color: white;
      padding: 4px 0;
      font-size: 0.7rem;
      text-align: center;
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1000;
    }

    header {
      background-color: white;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
      position: fixed;
      top: 20px;
      left: 0;
      width: 100%;
      z-index: 1000;
      padding: 8px 12px;
      border-bottom: 1px solid var(--dark);
    }

    .nav-container {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .logo {
      font-size: 1.1rem;
      font-weight: 800;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
    }

    .logo i {
      color: var(--secondary);
    }

    .search-bar {
      display: flex;
      flex: 1;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: var(--box-shadow);
      background: white;
      max-width: 100%;
      border: 1px solid var(--dark);
    }

    .search-bar input {
      flex: 1;
      padding: 8px 12px;
      border: none;
      font-size: 0.85rem;
      outline: none;
      background: transparent;
      color: var(--dark);
    }

    .search-bar button {
      background: var(--gradient);
      color: white;
      border: none;
      padding: 0 15px;
      cursor: pointer;
      font-size: 0.9rem;
    }

    .nav-icon {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: pointer;
      padding: 4px;
      border-radius: 8px;
      min-width: 40px;
    }

    .nav-icon i {
      font-size: 1.1rem;
      color: var(--dark);
    }

    .cart-count {
      position: absolute;
      top: -2px;
      right: -2px;
      background-color: var(--danger);
      color: white;
      border-radius: 50%;
      width: 16px;
      height: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.6rem;
      font-weight: bold;
    }

    /* Compact Hero Slider */
    .hero {
      padding: 1px 0;
    }

    .hero-slider {
      position: relative;
      border-radius: var(--border-radius);
      overflow: hidden;
      height: 160px;
      box-shadow: var(--box-shadow);
      border: 1px solid var(--dark);
    }

    .slider-item {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      opacity: 0;
      transition: opacity 0.8s ease;
    }

    .slider-item.active {
      opacity: 1;
    }

    .slider-content {
      position: absolute;
      bottom: 10px;
      left: 15px;
      color: white;
      z-index: 2;
    }

    .slider-content h2 {
      font-size: 1.2rem;
      margin-bottom: 4px;
      line-height: 1.2;
      text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    }

    .slider-content p {
      margin-bottom: 8px;
      font-size: 0.8rem;
      text-shadow: 0 1px 2px rgba(0,0,0,0.3);
      max-width: 70%;
    }

    .btn {
      display: inline-block;
      background: var(--gradient);
      color: white;
      padding: 6px 12px;
      border-radius: 16px;
      font-weight: 600;
      text-decoration: none;
      transition: var(--transition);
      font-size: 0.75rem;
      border: 1px solid var(--dark);
    }

    .slider-indicators {
      position: absolute;
      bottom: 8px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 6px;
    }

    .indicator {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: var(--transition);
    }

    .indicator.active {
      background-color: white;
      transform: scale(1.2);
    }

    /* Ultra Compact Categories */
    .section {
      margin: 12px 0;
      padding: 12px 8px;
      background: white;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
      border: 1px solid var(--dark);
    }

    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
      padding: 0 4px;
    }

    .section-title {
      font-size: 1rem;
      font-weight: 700;
      color: var(--dark);
    }

    .view-all {
      color: var(--primary);
      font-weight: 600;
      font-size: 0.8rem;
      text-decoration: none;
    }

    .categories-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
    }

    .category-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      cursor: pointer;
      transition: var(--transition);
      padding: 6px 4px;
      border-radius: 8px;
      background: var(--light-gray);
      border: 1px solid var(--dark);
    }

    .category-card:hover {
      transform: translateY(-2px);
      background: var(--light);
    }

    .category-icon {
      width: 36px;
      height: 36px;
      margin-bottom: 4px;
      border-radius: 8px;
      background: white;
      padding: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
      border: 1px solid var(--dark);
    }

    .category-icon i {
      font-size: 1rem;
      color: var(--primary);
    }

    .category-name {
      font-size: 0.65rem;
      font-weight: 500;
      color: var(--dark);
      line-height: 1.1;
    }

    /* Ultra Compact Products */
    .products-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }

    .product-card {
      background-color: white;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
      transition: var(--transition);
      position: relative;
      border: 1px solid var(--dark);
    }

    .product-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .product-badge {
      position: absolute;
      top: 6px;
      left: 6px;
      background: var(--gradient);
      color: white;
      padding: 2px 6px;
      border-radius: 10px;
      font-size: 0.6rem;
      font-weight: 600;
      z-index: 10;
      border: 1px solid var(--dark);
    }

   .product-image {
  height: 150px; /* slightly taller to make image look bigger */
  width: 100%;
  background-color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 110%;        /* image slightly overflows horizontally */
  height: 110%;       /* image slightly overflows vertically */
  object-fit: cover;  /* fills container fully, can crop slightly for premium look */
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.3);   /* bigger zoom effect on hover */
}



    .product-info {
      padding: 8px;
    }

    .product-title {
      font-weight: 600;
      margin-bottom: 4px;
      font-size: 0.75rem;
      line-height: 1.2;
      height: 2.4em;
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      color: var(--dark);
    }

    .product-rating {
      display: flex;
      align-items: center;
      gap: 3px;
      margin-bottom: 5px;
    }

    .stars {
      color: var(--dark);
      display: flex;
      gap: 1px;
      font-size: 0.65rem;
    }

    .rating-count {
      color: var(--gray);
      font-size: 0.6rem;
    }

    .product-price {
      display: flex;
      align-items: center;
      gap: 5px;
      margin-bottom: 6px;
    }

    .price {
      font-weight: 700;
      font-size: 0.85rem;
      color: var(--dark);
    }

    .old-price {
      color: var(--gray);
      text-decoration: line-through;
      font-size: 0.65rem;
    }

    .discount {
      color: var(--success);
      font-weight: 600;
      font-size: 0.65rem;
    }

    .product-actions {
      display: flex;
      gap: 5px;
    }

    .add-to-cart {
      flex: 1;
      background: var(--gradient);
      color: white;
      border: none;
      padding: 6px;
      border-radius: 6px;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      font-size: 0.7rem;
      border: 1px solid var(--dark);
    }

    .add-to-cart:hover {
      opacity: 0.9;
    }

    .wishlist {
      width: 28px;
      height: 28px;
      border-radius: 6px;
      border: 1px solid var(--light-gray);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: var(--transition);
      background: white;
      font-size: 0.7rem;
      border: 1px solid var(--dark);
    }

    .wishlist:hover {
      color: var(--danger);
      border-color: var(--danger);
    }

    /* Compact Carousel */
    .carousel-container {
      width: 100%;
      overflow: hidden;
      position: relative;
      padding: 6px 0;
    }

    .carousel-track {
      display: flex;
      gap: 8px;
      transition: transform 0.5s linear;
    }

    .productsprocer-card {
      background: white;
      border-radius: 8px;
      text-align: center;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
      padding: 6px;
      flex: 0 0 120px;
      max-width: 120px;
      position: relative;
      overflow: hidden;
      transition: var(--transition);
      border: 1px solid var(--dark);
    }

    .productsprocer-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    }

    .productsprocer-card img {
      width: 100%;
      height: auto;
      border-radius: 6px;
      margin-bottom: 5px;
    }

    .productsprocer-card .name {
      font-size: 0.7rem;
      font-weight: 500;
      color: var(--dark);
      margin-top: 2px;
      line-height: 1.2;
    }

    .productsprocer-card .price {
      font-size: 0.75rem;
      font-weight: 700;
      color: var(--dark);
      margin-top: 2px;
    }

    /* Compact Footer */
    footer {
      background-color: var(--dark);
      color: white;
      padding: 20px 0 0;
      margin-top: 20px;
      border-top: 1px solid var(--dark);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      margin-bottom: 20px;
      padding: 0 12px;
    }

    .footer-col h3 {
      font-size: 0.9rem;
      margin-bottom: 12px;
      position: relative;
      padding-bottom: 6px;
    }

    .footer-col h3::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 25px;
      height: 2px;
      background: var(--gradient);
    }

    .footer-links {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .footer-links a {
      color: #cbd5e1;
      transition: var(--transition);
      text-decoration: none;
      font-size: 0.75rem;
    }

    .footer-links a:hover {
      color: white;
    }

    .social-links {
      display: flex;
      gap: 10px;
      margin-top: 12px;
    }

    .social-link {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
      font-size: 0.9rem;
      border: 1px solid var(--dark);
    }

    .social-link:hover {
      background: var(--gradient);
    }

    .contact-info {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .contact-item {
      display: flex;
      gap: 8px;
      align-items: flex-start;
    }

    .contact-icon {
      color: var(--primary);
      font-size: 0.9rem;
      margin-top: 2px;
    }

    .contact-item span {
      font-size: 0.75rem;
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding: 12px 0;
      text-align: center;
      color: #94a3b8;
      font-size: 0.7rem;
    }

    /* Ultra Compact Mobile Navigation */
    .mobile-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: white;
      box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.08);
      display: flex;
      justify-content: space-around;
      padding: 6px 0;
      z-index: 1000;
      border-top: 1px solid var(--dark);
    }

    .mobile-nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-decoration: none;
      color: var(--gray);
      font-size: 0.65rem;
      transition: var(--transition);
      padding: 4px;
      border-radius: 6px;
      min-width: 50px;
    }

    .mobile-nav-item.active {
      color: var(--primary);
      background: rgba(0, 0, 0, 0.05);
    }

    .mobile-nav-item i {
      font-size: 1.1rem;
      margin-bottom: 2px;
    }

    /* Container */
    .container {
      width: 100%;
      max-width: 100%;
      margin: 0 auto;
      padding: 0 10px;
    }

    /* Animations */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(15px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .animate-in {
      animation: fadeIn 0.5s ease forwards;
      opacity: 0;
    }

    .delay-1 { animation-delay: 0.1s; }
    .delay-2 { animation-delay: 0.2s; }
    .delay-3 { animation-delay: 0.3s; }

    /* Search Results */
    .search-results {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: white;
      border-radius: 8px;
      box-shadow: var(--box-shadow);
      max-height: 200px;
      overflow-y: auto;
      z-index: 10;
      margin-top: 4px;
      display: none;
      border: 1px solid var(--dark);
    }

    .search-results.active {
      display: block;
    }

    .search-item {
      padding: 8px 12px;
      border-bottom: 1px solid var(--light-gray);
      display: flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      transition: var(--transition);
    }

    .search-item:hover {
      background: var(--light);
    }

    .search-item img {
      width: 35px;
      height: 35px;
      object-fit: cover;
      border-radius: 6px;
    }

    .search-item-info {
      flex: 1;
    }

    .search-item-name {
      font-weight: 600;
      margin-bottom: 2px;
      font-size: 0.8rem;
      color: var(--dark);
    }

    .search-item-price {
      color: var(--primary);
      font-weight: 700;
      font-size: 0.75rem;
    }

    .no-results {
      padding: 12px;
      text-align: center;
      color: var(--gray);
      font-size: 0.8rem;
    }

    /* Toast Notification */
    .toast {
      position: fixed;
      bottom: 80px;
      right: 10px;
      background: var(--gradient);
      color: white;
      padding: 10px 15px;
      border-radius: 8px;
      box-shadow: var(--box-shadow);
      z-index: 1001;
      transform: translateX(150%);
      transition: transform 0.3s ease;
    }

    .toast.show {
      transform: translateX(0);
    }

    /* Quick View Modal */
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 2000;
      align-items: center;
      justify-content: center;
    }

    .modal-content {
      background: white;
      border-radius: 12px;
      width: 90%;
      max-width: 400px;
      padding: 15px;
      position: relative;
    }

    .close-modal {
      position: absolute;
      top: 10px;
      right: 10px;
      font-size: 1.2rem;
      cursor: pointer;
    }

    /* Filter & Sort */
    .filter-sort {
      display: flex;
      gap: 10px;
      margin-bottom: 10px;
      overflow-x: auto;
      padding: 5px 0;
    }

    .filter-btn, .sort-btn {
      padding: 6px 12px;
      border: 1px solid var(--dark);
      background: white;
      border-radius: 20px;
      font-size: 0.75rem;
      cursor: pointer;
      white-space: nowrap;
    }

    .filter-btn.active, .sort-btn.active {
      background: var(--gradient);
      color: white;
    }

    /* Loading Spinner */
    .loading {
      display: inline-block;
      width: 20px;
      height: 20px;
      border: 3px solid rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      border-top-color: white;
      animation: spin 1s ease-in-out infinite;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }