 :root {
     --primary-color: #22c55e;
     --secondary-color: #16a34a;
     --dark-bg: #1a1a1a;
     --light-bg: #f8fafc;
     --text-dark: #1e293b;
     --text-muted: #64748b;
     --border-color: #e2e8f0;
}
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
}
 body {
     font-family: 'Inter', sans-serif;
     line-height: 1.6;
     color: var(--text-dark);
     background: var(--light-bg);
}
 .navbar-brand {
     font-weight: 700;
     font-size: 1.5rem;
     color: var(--primary-color) !important;
}
 .navbar-nav .nav-link {
     font-weight: 500;
     color: var(--text-dark) !important;
     margin: 0 0.5rem;
     transition: color 0.3s ease;
}
 .navbar-nav .nav-link:hover {
     color: var(--primary-color) !important;
}
 .catalog-header {
     background: white;
     padding: 2rem 0;
     border-bottom: 1px solid var(--border-color);
}
 .filters-card {
     background: white;
     border-radius: 15px;
     padding: 1.5rem;
     border: 1px solid var(--border-color);
     height: fit-content;
     position: sticky;
     top: 100px;
}
 .filter-group {
     margin-bottom: 1.5rem;
}
 .filter-title {
     font-weight: 600;
     margin-bottom: 0.75rem;
     color: var(--text-dark);
}
 .form-check-label {
     color: var(--text-muted);
     font-size: 0.9rem;
}
 .price-range {
     display: flex;
     gap: 0.5rem;
     align-items: center;
}
 .product-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
     gap: 1.5rem;
}
 .product-card {
     background: white;
     border-radius: 15px;
     overflow: hidden;
     border: 1px solid var(--border-color);
     transition: all 0.3s ease;
     height: 100%;
}
 .product-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
 .product-image {
     width: 100%;
     height: 220px;
     object-fit: cover;
     background: #f1f5f9;
}
 .product-body {
     padding: 1.25rem;
}
 .product-badge {
     position: absolute;
     top: 10px;
     left: 10px;
     background: var(--primary-color);
     color: white;
     padding: 0.25rem 0.5rem;
     border-radius: 20px;
     font-size: 0.75rem;
     font-weight: 600;
}
 .product-badge.sale {
     background: #ef4444;
}
 .product-title {
     font-size: 1rem;
     font-weight: 600;
     margin-bottom: 0.5rem;
     color: var(--text-dark);
}
 .product-brand {
     color: var(--primary-color);
     font-size: 0.85rem;
     font-weight: 500;
     margin-bottom: 0.5rem;
}
 .product-price {
     font-size: 1.25rem;
     font-weight: 700;
     color: var(--text-dark);
     margin-bottom: 0.75rem;
}
 .product-price .old-price {
     font-size: 0.9rem;
     color: var(--text-muted);
     text-decoration: line-through;
     margin-left: 0.5rem;
}
 .product-specs {
     list-style: none;
     margin-bottom: 1rem;
}
 .product-specs li {
     padding: 0.2rem 0;
     color: var(--text-muted);
     font-size: 0.85rem;
     display: flex;
     justify-content: space-between;
}
 .product-actions {
     display: flex;
     gap: 0.5rem;
}
.btn-primary-custom {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    width: 130px;
}

.btn-primary-custom:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.3);
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-custom:hover {
    background: var(--primary-color);
    color: white;
}

 .pagination-custom .page-link {
     color: var(--primary-color);
     border-color: var(--border-color);
}
 .pagination-custom .page-item.active .page-link {
     background-color: var(--primary-color);
     border-color: var(--primary-color);
}
/* Mobile Styles */
 @media (max-width: 768px) {
     .product-grid {
         grid-template-columns: repeat(2, 1fr);
         gap: 0.75rem;
    }
     .product-card {
         border-radius: 10px;
    }
     .product-image {
         height: 160px;
    }
     .product-body {
         padding: 0.75rem;
    }
     .product-title {
         font-size: 0.85rem;
         line-height: 1.2;
    }
     .product-brand {
         font-size: 0.75rem;
    }
     .product-price {
         font-size: 1rem;
         margin-bottom: 0.5rem;
    }
     .product-specs {
         margin-bottom: 0.75rem;
    }
     .product-specs li {
         font-size: 0.75rem;
         padding: 0.1rem 0;
    }
     .product-actions {
         flex-direction: column;
         gap: 0.25rem;
    }
     .btn-primary-custom {
         font-size: 0.8rem;
         padding: 0.4rem 0.75rem;
    }
     .filters-card {
         position: static;
         margin-bottom: 1rem;
    }
}
 @media (max-width: 480px) {
     .product-grid {
         gap: 0.5rem;
    }
     .product-body {
         padding: 0.5rem;
    }
     .product-title {
         font-size: 0.8rem;
    }
     .product-brand {
         font-size: 0.7rem;
    }
     .product-price {
         font-size: 0.9rem;
    }
}

/* Product specs styling */
.product-specs {
    margin: 10px 0;
    padding: 0;
    list-style: none;
    text-align: left; /* Left alignment */
}

.product-specs li {
    margin-bottom: 8px;
    display: flex;
}

.spec-label {
    color: #333;
    font-weight: 500;
    min-width: 110px; /* Fixed width for labels */
    display: inline-block;
}

.spec-value {
    color: #666;
    margin-left: 10px; /* Space between label and value */
}

/* Price styling */
.product-price-container {
    margin: 15px 0;
    text-align: left;
}

.product-price-discounted {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.product-price-original {
    font-size: 1rem;
    text-decoration: line-through;
    color: #999;
    margin-left: 8px;
}

/* Button styling */
.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-icon-custom {
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.btn-icon-custom:hover {
    background-color: #f5f5f5;
    border-radius: 4px;
}

.icon {
    font-size: 1rem;
}


@media (max-width: 576px) {
  .product-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
  }

  .product-actions a {
    flex: 1;
  }

  .product-actions button {
    width: 100%;
    padding: 6px 0;
    font-size: 14px;
  }

  .product-body {
    padding: 8px !important;
  }

  .product-title,
  .product-specs li,
  .product-price {
    margin-bottom: 4px;
  }

  .product-specs {
    margin-bottom: 6px;
  }
}
