/* Categories Container */
.categories-wrapper {
    background-color: #fff;
    padding: 8px 0;
    /* Reduced padding */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e0e0e0;
}

.categories-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 10px;
    /* Reduced gap */
}

.categories-container::-webkit-scrollbar {
    display: none;
}

/* Individual Category Item */
.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    /* Removed padding */
    min-width: auto;
    /* Allow auto width */
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
}

.category-item:hover {
    transform: translateY(-2px);
}

/* Image styling */
.category-image {
    width: 55px;
    /* Slight reduction if desired, but 60 is fine. Let's make it 55 to be "thoda chota" */
    height: 55px;
    margin-bottom: 0;
    /* No margin needed as no text */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
    /* Optional: adds a slight polish */
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure image fits without cropping */
    display: block;
}

/* Removed Category Text Styles */

/* Responsive Adjustments */
@media (max-width: 768px) {
    .categories-container {
        justify-content: flex-start;
        padding-bottom: 0;
        /* Tighten up */
        gap: 15px;
    }

    .category-item {
        min-width: auto;
    }

    .category-image {
        width: 50px;
        height: 50px;
    }
}