/* Custom Category Showcase Styles */

.ccs-wrapper {
    width: 100%;
}

.ccs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: start;
}

.ccs-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ccs-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.ccs-link:hover {
    text-decoration: none;
    color: inherit;
}

.ccs-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    display: block;
    position: relative;
    transition: all 0.3s ease;
    background-color: #f5f5f5;
}

.ccs-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
    transition: transform 0.4s ease;
}

.ccs-title {
    margin: 10px 0 0 0;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}

/* Hover Effects */

/* Zoom In - image zooms inside container */
.ccs-item:hover .ccs-image.ccs-hover-zoom img {
    transform: scale(1.1);
}

/* Zoom Out - image starts zoomed, returns to normal */
.ccs-image.ccs-hover-zoom-out img {
    transform: scale(1.1);
}
.ccs-item:hover .ccs-image.ccs-hover-zoom-out img {
    transform: scale(1);
}

/* Scale - entire container scales up */
.ccs-hover-scale:hover {
    transform: scale(1.1);
}

/* Float - container moves up */
.ccs-hover-float:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .ccs-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .ccs-image {
        width: 120px;
        height: 120px;
    }
    
    .ccs-title {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .ccs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .ccs-image {
        width: 100px;
        height: 100px;
    }
    
    .ccs-title {
        font-size: 12px;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .ccs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .ccs-image {
        width: 80px;
        height: 80px;
    }
    
    .ccs-title {
        font-size: 11px;
    }
}

/* Editor Styles */
.elementor-editor-active .ccs-item {
    cursor: pointer;
}
