/* =====================
   ===================== */
.hamta-category-grid {
    padding: 40px 15px;
    max-width: 1200px;
    margin: 0 auto;
    direction: rtl;
}

.hamta-cg-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 30px;
}

.hamta-cg-indicator {
    width: 40px;
    height: 14px;
    background: #00C896;
    border-radius: 7px;
}

.hamta-cg-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.hamta-cg-title .highlight {
    color: #00C896;
}

.hamta-cg-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
    align-items: center;
}

.hamta-cg-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    min-width: 150px;
    height: -webkit-fill-available;
    transition: transform 0.3s ease;
}

.hamta-cg-item:hover {
    transform: translateY(-5px);
}

.hamta-cg-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamta-cg-circle {
    position: absolute;
    bottom: -30px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    background: #f0f0f0;
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: rotate3d(11, 1, 1, 73deg);
}

.hamta-cg-item:hover .hamta-cg-circle {
    background: #00C896;
    transform: scale(1.05);
    transform: rotate3d(1, 1, 1, 0deg);
    height: 125px;
    bottom: 0;
}

.hamta-cg-image {
    position: relative;
    z-index: 1;
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.15);
    opacity: 1;
    transition: all 0.3s ease;
}

.hamta-cg-item:hover .hamta-cg-image {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

.hamta-cg-label {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    text-align: center;
    transition: color 0.3s ease;
}

.hamta-cg-item:hover .hamta-cg-label {
    color: #333;
}

/* =====================
   ===================== */
@media (max-width: 768px) {
    .hamta-category-grid {
        padding: 30px 10px;
    }
    
    .hamta-cg-items {
        gap: 15px;
    }
    
    .hamta-cg-item {
        min-width: 100px;
    }
    
    .hamta-cg-image-wrapper {
        width: 110px;
        height: 110px;
    }
    
    .hamta-cg-circle {
        width: 110px;
        height: 110px !important;
    }
    
    .hamta-cg-image {
        max-width: 65px;
        max-height: 65px;
    }
    
    .hamta-cg-label {
        font-size: 12px;
        margin-top: 10px;
    }
    
    .hamta-cg-title {
        font-size: 18px;
    }
}