.active-category {
    background-color: lightgrey; 
    color: black;
    border-radius: 3px;
}
.product-card {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensure cards are evenly spaced */
}
.custom-pagination-container {
    display: flex;
    gap: 0;  /* Space between the buttons */
    margin-top: 20px;
}
.custom-pagination-container button
{
    border: none;
    background-color:white ;
}

.product-name {
    display: block;
    max-width: 100%;  /* Ensure it takes full width of the parent container */
    white-space: nowrap;  /* Prevent text from wrapping */
    overflow: hidden;  /* Hide overflowing text */
    text-overflow: ellipsis;  /* Display ellipsis when text is too long */
    font-size: 1rem;  /* Adjust the font size */
}


.product-name:hover {
    text-decoration: underline;  /* Optional: Add underline on hover */
    cursor: pointer;
}

.product-name[title]:hover::after {
    content: attr(title);
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 0.9rem;
    z-index: 10;
    left: 0;
    top: 100%;
    width: auto;
    max-width: 200px; /* Optional: Limit the width of the tooltip */
    display: block;
}
